Moved pray.c globals to instance_globals.

This commit is contained in:
Bart House
2018-11-23 16:50:23 -08:00
parent 1c1e5b7e36
commit 74caa8d8e4
11 changed files with 88 additions and 105 deletions

View File

@@ -204,6 +204,7 @@ char *argv[];
#endif
objects_globals_init();
monst_globals_init();
tilecount = 0;
xoffset = yoffset = 0;

View File

@@ -109,10 +109,6 @@ int set, entry;
int i, j, condnum, tilenum;
static char buf[BUFSZ];
/* Note: these initializers don't do anything except guarantee that
we're linked properly.
*/
monst_init();
(void) def_char_to_objclass(']');
condnum = tilenum = 0;