From c92edfe90dcec71c4d01e435b2a1baba29d187cd Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 4 Feb 2018 21:58:31 +0100 Subject: [PATCH] fixed bug with variable defined as "long" that should be "int" in EM engine - this was apparently overseen when fixing the R'n'D code for 64-bit systems back in 2011 by replacing all "long" with "int" types (see commit 61c3da0) - this bug was open to the public since version 3.3.1.0 was released in 2013 - this bug has potentially broken all EM engine tapes containing amoeba - fixing this bug potentially breaks similar tapes between 2013 and now - tapes created before 3.3.1.0 and broken due to this bug should work again --- src/game_em/synchro_3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game_em/synchro_3.c b/src/game_em/synchro_3.c index 307d285e..ca83a820 100644 --- a/src/game_em/synchro_3.c +++ b/src/game_em/synchro_3.c @@ -13,7 +13,7 @@ void synchro_3(void) int x; int y; int count; - unsigned long random; + unsigned int random; /* update variables */ -- 2.34.1