1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fixed #621 error caused by signed word expanding incorrectly to an unsigned dword

This commit is contained in:
Duncan Frost
2014-12-08 16:20:02 +00:00
parent 68fe54cfdd
commit eed854ed6f

View File

@@ -1188,7 +1188,7 @@ void window_staff_overview_tool_abort(){
sprite_move(w->var_48C, peep->y, peep->z + 8, (rct_sprite*)peep);
invalidate_sprite((rct_sprite*)peep);
if (peep->x != 0x8000){
if (peep->x != (sint16)0x8000){
peep_decrement_num_riders(peep);
peep->state = PEEP_STATE_FALLING;
peep_window_state_update(peep);