fixed bug with variable defined as "long" that should be "int" in EM engine
authorHolger Schemel <info@artsoft.org>
Sun, 4 Feb 2018 20:58:31 +0000 (21:58 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 4 Feb 2018 22:11:27 +0000 (23:11 +0100)
commitc92edfe90dcec71c4d01e435b2a1baba29d187cd
tree6760c8b897cb6ebb8c6d3d07ad63449cf99fefd6
parent4994dc8d46ba4fe85e77aa3067dd186a023225c6
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