mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Fix #732. Sprites were moved to invalid coordinates when closing rides with no exits.
This commit is contained in:
@@ -685,7 +685,7 @@ static void ride_remove_peeps(int rideIndex)
|
||||
if (peep->next_var_29 & 4)
|
||||
z += 8;
|
||||
z++;
|
||||
sprite_move(exitX, exitY, exitZ, (rct_sprite*)peep);
|
||||
sprite_move(x, y, z, (rct_sprite*)peep);
|
||||
} else {
|
||||
sprite_move(exitX, exitY, exitZ, (rct_sprite*)peep);
|
||||
peep->sprite_direction = exitDirection;
|
||||
|
||||
Reference in New Issue
Block a user