1
0
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:
Ted John
2017-03-10 21:59:13 +00:00
parent 8148c86f6b
commit 2d063ef545

View File

@@ -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)
{