engine: make smoststart[] (which saves starting "smostcnt"s) an array of int32's

instead of shorts. This fixes their values' overflow in AMC TC megabase and
probably a couple of other large maps.

git-svn-id: https://svn.eduke32.com/eduke32@2216 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-12-27 14:22:45 +00:00
parent 51e3bc0148
commit 7c245875cb
1 changed files with 1 additions and 1 deletions

View File

@ -2112,7 +2112,7 @@ int16_t bunchfirst[MAXWALLSB], bunchlast[MAXWALLSB];
static int32_t smostcnt;
static int16_t smost[MAXYSAVES];
static int16_t smoststart[MAXWALLSB];
static int32_t smoststart[MAXWALLSB];
static char smostwalltype[MAXWALLSB];
static int32_t smostwall[MAXWALLSB], smostwallcnt = -1;