dMonster array: int -> int16_t

This commit is contained in:
Gleb Mazovetskiy 2021-04-09 00:27:27 +01:00 committed by Anders Jenbo
commit 29b5526064
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ char dPlayer[MAXDUNX][MAXDUNY];
* towner number (towners array index) in Tristram and a monster number
* (monsters array index) in the dungeon.
*/
int dMonster[MAXDUNX][MAXDUNY];
int16_t dMonster[MAXDUNX][MAXDUNY];
/**
* Contains the dead numbers (deads array indices) and dead direction of
* the map, encoded as specified by the pseudo-code below.

View file

@ -100,7 +100,7 @@ extern char dLight[MAXDUNX][MAXDUNY];
extern char dPreLight[MAXDUNX][MAXDUNY];
extern char dFlags[MAXDUNX][MAXDUNY];
extern char dPlayer[MAXDUNX][MAXDUNY];
extern int dMonster[MAXDUNX][MAXDUNY];
extern int16_t dMonster[MAXDUNX][MAXDUNY];
extern char dDead[MAXDUNX][MAXDUNY];
extern char dObject[MAXDUNX][MAXDUNY];
extern char dItem[MAXDUNX][MAXDUNY];