Skip to content

Commit

Permalink
Fixup wasn't called for last actor (off-by-1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Dec 1, 2018
1 parent c78626c commit f2d55a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_actors.cpp
Expand Up @@ -49,7 +49,7 @@ void Game_Actors::Fixup() {
}
}

for (size_t i = 1; i < data.size(); ++i) {
for (size_t i = 1; i <= data.size(); ++i) {
GetActor(i)->Fixup();
}
}
Expand Down

0 comments on commit f2d55a6

Please sign in to comment.