CRYO: Remove one more usage of sizeof()

This commit is contained in:
Filippos Karapetis 2017-02-11 18:02:47 +02:00
parent 24a4c231da
commit a3f59d8433

View File

@ -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);