Modified objects initialization to support re-entry.

This commit is contained in:
Bart House
2018-11-23 15:13:22 -08:00
parent 041e55467a
commit c3eefefc99
13 changed files with 26 additions and 30 deletions

View File

@@ -203,6 +203,8 @@ char *argv[];
}
#endif
objects_globals_init();
tilecount = 0;
xoffset = yoffset = 0;
initflag = 0;

View File

@@ -113,7 +113,6 @@ int set, entry;
we're linked properly.
*/
monst_init();
objects_init();
(void) def_char_to_objclass(']');
condnum = tilenum = 0;

View File

@@ -97,7 +97,6 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
win10_init();
instance_globals_init();
sys_early_init();
/* init applicatio structure */