diff options
| author | kipcode66 <kipcode66@gmail.com> | 2025-12-08 23:31:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-08 20:31:22 -0800 |
| commit | 3b26aae5321f14fcdfaf4360605daaa4da6a99cf (patch) | |
| tree | 445b5a2b09981a7cc4ac00ea44159bfc9ffb0e22 /src/d/d_model.cpp | |
| parent | a3d6bafcdde6d8361c4d1e3acbd33c08a2978f4c (diff) | |
Improving standard compiler compatibility (#2926)
* Adding explicit dolphin/ prefix & fix characters
* Rename ShiftJIS to SJIS
* Separate JASSeqReader read methods implementation between compilers.
* Fix pointer.h
* fix d_item_data typo
* fix gcn matching issue
Diffstat (limited to 'src/d/d_model.cpp')
| -rw-r--r-- | src/d/d_model.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_model.cpp b/src/d/d_model.cpp index 5d89bc2603..59562d9b15 100644 --- a/src/d/d_model.cpp +++ b/src/d/d_model.cpp @@ -15,8 +15,8 @@ void dMdl_c::draw() { mpModelData->getMaterialNodePointer(mMaterialId)->loadSharedDL(); shape->loadPreDrawSetting(); - GXColor amb_color = {mpTevstr->AmbCol.r, mpTevstr->AmbCol.g, mpTevstr->AmbCol.b, - mpTevstr->AmbCol.a}; + GXColor amb_color = {(u8)mpTevstr->AmbCol.r, (u8)mpTevstr->AmbCol.g, (u8)mpTevstr->AmbCol.b, + (u8)mpTevstr->AmbCol.a}; GXSetChanAmbColor(GX_COLOR0A0, amb_color); GXSetChanMatColor(GX_COLOR0A0, g_whiteColor); dKy_setLight_nowroom_actor(mpTevstr); |
