aboutsummaryrefslogtreecommitdiff
path: root/saga/ite_introproc.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-01-02 14:52:11 +0000
committerTorbjörn Andersson2005-01-02 14:52:11 +0000
commit5f6108052e24fbf4a309ae5c315278b992d76ede (patch)
treed25d5d688dfe3f767f9ffb40469153662444278c /saga/ite_introproc.cpp
parent1bc636aaa676839c6e8fe2d8cc1405f2c3b2393c (diff)
downloadscummvm-rg350-5f6108052e24fbf4a309ae5c315278b992d76ede.tar.gz
scummvm-rg350-5f6108052e24fbf4a309ae5c315278b992d76ede.tar.bz2
scummvm-rg350-5f6108052e24fbf4a309ae5c315278b992d76ede.zip
Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,
and used ARRAYSIZE() instead in two cases. svn-id: r16408
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: