Fix on ride photos staying flashed

This commit is contained in:
Duncan Frost 2015-03-27 08:47:47 +00:00
parent 0e04189951
commit bba61bd891
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ void map_animation_invalidate_all()
RCT2_GLOBAL(0x0138B580, uint16)--;
numAnimatedObjects--;
if (numAnimatedObjects > 0)
memmove(aobj, aobj + 1, numAnimatedObjects);
memmove(aobj, aobj + 1, numAnimatedObjects * sizeof(rct_map_animation));
} else {
numAnimatedObjects--;
aobj++;