1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Fix balloons import/export issue

This commit is contained in:
duncanspumpkin
2020-04-07 18:34:46 +01:00
parent 328856a933
commit 18a21a73ab

View File

@@ -47,6 +47,11 @@ void Balloon::Update()
{
time_to_move = 0;
frame++;
// NOTE: To keep S6 Compatibility this field needs to roll over after 1 byte
if (frame == 256)
{
frame = 0;
}
sprite_move(x, y, z + 1, this);
int32_t maxZ = 1967 - ((x ^ y) & 31);