diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-09-04 07:56:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-04 17:56:59 +0300 |
| commit | b45a089e15d79821b07be020db628e01a49b1fd2 (patch) | |
| tree | 948057548cc19b19d644bd4f300ca6434e6bff11 /src/Z2AudioLib/Z2SceneMgr.cpp | |
| parent | ee8b843996f4d888903f8c125b95ec1af376877e (diff) | |
some J3D/misc cleanup (#2628)
* some j3d cleanup
* begin using uintptr_t
* j3dgraphbase cleanup
* j3dgraphanimator cleanup
Diffstat (limited to 'src/Z2AudioLib/Z2SceneMgr.cpp')
| -rw-r--r-- | src/Z2AudioLib/Z2SceneMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Z2AudioLib/Z2SceneMgr.cpp b/src/Z2AudioLib/Z2SceneMgr.cpp index 37ed2979d4..b1402c1fa9 100644 --- a/src/Z2AudioLib/Z2SceneMgr.cpp +++ b/src/Z2AudioLib/Z2SceneMgr.cpp @@ -216,12 +216,12 @@ void Z2SceneMgr::setSceneName(char* spotName, s32 room, s32 layer) { } if (spotName != NULL) { - for (spot = 0; spot < (int)ARRAY_SIZE(sSpotName); spot++) { + for (spot = 0; spot < ARRAY_SIZE(sSpotName); spot++) { if (!strcmp(spotName, sSpotName[spot])) { break; } } - if (spot == (int)ARRAY_SIZE(sSpotName)) { + if (spot == ARRAY_SIZE(sSpotName)) { spot = SPOT_NONE; } } |
