aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2017-02-11 18:02:47 +0200
committerFilippos Karapetis2017-02-11 18:02:47 +0200
commita3f59d8433230cbb279092c8e7876522a7830fd2 (patch)
tree0f73150a8c27eb678d892ea2480049b6a2d433bf
parent24a4c231dabcea6d35c909a1731e59af209f4496 (diff)
downloadscummvm-rg350-a3f59d8433230cbb279092c8e7876522a7830fd2.tar.gz
scummvm-rg350-a3f59d8433230cbb279092c8e7876522a7830fd2.tar.bz2
scummvm-rg350-a3f59d8433230cbb279092c8e7876522a7830fd2.zip
CRYO: Remove one more usage of sizeof()
-rw-r--r--devtools/create_cryo/create_cryo_dat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/create_cryo/create_cryo_dat.cpp b/devtools/create_cryo/create_cryo_dat.cpp
index 875acad3f1..5a693d96fe 100644
--- a/devtools/create_cryo/create_cryo_dat.cpp
+++ b/devtools/create_cryo/create_cryo_dat.cpp
@@ -110,7 +110,7 @@ static void emitStatic(FILE *f) {
fwrite(kDinoSpeedForCitaLevel, 1, kNumDinoSpeedForCitaLevel, f);
fwrite(kTabletView, 1, kNumTabletView, f);
fwrite(kPersoRoomBankTable, 1, kNumPersoRoomBankTable, f);
- fwrite(gotos, sizeof(Goto), kNumGotos, f);
+ fwrite(gotos, 5, kNumGotos, f); // sizeof(Goto)
for (int i = 0; i < kNumObjects; i++) {
writeLE<byte>(f, _objects[i]._id);