mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Add comment to balloon press logic
This commit is contained in:
@@ -73,6 +73,8 @@ void rct_balloon::Press()
|
||||
{
|
||||
if (popped != 1)
|
||||
{
|
||||
// There is a random chance that pressing the balloon will not pop it
|
||||
// and instead shift it slightly
|
||||
uint32 random = scenario_rand();
|
||||
if ((sprite_index & 7) || (random & 0xFFFF) < 0x2000)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user