mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +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)
|
if (peep->next_var_29 & 4)
|
||||||
z += 8;
|
z += 8;
|
||||||
z++;
|
z++;
|
||||||
sprite_move(exitX, exitY, exitZ, (rct_sprite*)peep);
|
sprite_move(x, y, z, (rct_sprite*)peep);
|
||||||
} else {
|
} else {
|
||||||
sprite_move(exitX, exitY, exitZ, (rct_sprite*)peep);
|
sprite_move(exitX, exitY, exitZ, (rct_sprite*)peep);
|
||||||
peep->sprite_direction = exitDirection;
|
peep->sprite_direction = exitDirection;
|
||||||
|
|||||||
Reference in New Issue
Block a user