aboutsummaryrefslogtreecommitdiff
path: root/saga/ite_introproc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/ite_introproc.cpp')
-rw-r--r--saga/ite_introproc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/ite_introproc.cpp b/saga/ite_introproc.cpp
index c67777035b..47f48256cf 100644
--- a/saga/ite_introproc.cpp
+++ b/saga/ite_introproc.cpp
@@ -654,7 +654,7 @@ int Scene::ITEIntroValleyProc(int param, SCENE_INFO *scene_info) {
"Jon Van Caneghem", MEDIUM_FONT_ID}
};
- int n_credits = sizeof credits / sizeof credits[0];
+ int n_credits = ARRAYSIZE(credits);
int event_delay = 3000;
switch (param) {
@@ -926,7 +926,7 @@ int Scene::ITEIntroFairePathProc(int param, SCENE_INFO *scene_info) {
MEDIUM_FONT_ID}
};
- int n_credits = sizeof credits / sizeof credits[0];
+ int n_credits = ARRAYSIZE(credits);
switch (param) {
case SCENE_BEGIN: