From 2d063ef5457a7f2fddcd29304767803a05838277 Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 10 Mar 2017 21:59:13 +0000 Subject: [PATCH] Add comment to balloon press logic --- src/openrct2/world/Balloon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openrct2/world/Balloon.cpp b/src/openrct2/world/Balloon.cpp index f836a1fa99..b72953c91c 100644 --- a/src/openrct2/world/Balloon.cpp +++ b/src/openrct2/world/Balloon.cpp @@ -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) {