mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Remove some redundant casts and fix rct_sprite::AsDuck()
This commit is contained in:
committed by
GitHub
parent
c8c9bf70a7
commit
d481cca2ed
@@ -544,7 +544,7 @@ static sint32 game_check_affordability(sint32 cost)
|
||||
return cost;
|
||||
if (gUnk141F568 & 0xF0)
|
||||
return cost;
|
||||
if (cost <= (sint32) gCash)
|
||||
if (cost <= gCash)
|
||||
return cost;
|
||||
|
||||
set_format_arg(0, uint32, cost);
|
||||
|
||||
Reference in New Issue
Block a user