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_map_path_dmap.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_map_path_dmap.cpp')
| -rw-r--r-- | src/d/d_map_path_dmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_map_path_dmap.cpp b/src/d/d_map_path_dmap.cpp index de6c6e2155..a7d6172436 100644 --- a/src/d/d_map_path_dmap.cpp +++ b/src/d/d_map_path_dmap.cpp @@ -422,7 +422,7 @@ int dMpath_c::setPointer(dDrawPath_c::room_class* i_room, s8* param_1, s8* param i_room->mpFloatData = (f32*)((uintptr_t)i_room + (uintptr_t)i_room->mpFloatData); dDrawPath_c::floor_class* floor_p = i_room->mpFloor; - int room = (int)i_room; + int room = (intptr_t)i_room; for (int i = 0; i < i_room->mFloorNum; i++) { floor_p->mpGroup = (dDrawPath_c::group_class*)(room + (uintptr_t)floor_p->mpGroup); |
