summaryrefslogtreecommitdiff
path: root/src/Z2AudioLib/Z2SceneMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Z2AudioLib/Z2SceneMgr.cpp')
-rw-r--r--src/Z2AudioLib/Z2SceneMgr.cpp4
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;
}
}