Modified objects initialization to support re-entry.
This commit is contained in:
@@ -203,6 +203,8 @@ char *argv[];
|
||||
}
|
||||
#endif
|
||||
|
||||
objects_globals_init();
|
||||
|
||||
tilecount = 0;
|
||||
xoffset = yoffset = 0;
|
||||
initflag = 0;
|
||||
|
||||
@@ -113,7 +113,6 @@ int set, entry;
|
||||
we're linked properly.
|
||||
*/
|
||||
monst_init();
|
||||
objects_init();
|
||||
(void) def_char_to_objclass(']');
|
||||
|
||||
condnum = tilenum = 0;
|
||||
|
||||
@@ -97,7 +97,6 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
|
||||
|
||||
win10_init();
|
||||
|
||||
instance_globals_init();
|
||||
sys_early_init();
|
||||
|
||||
/* init applicatio structure */
|
||||
|
||||
Reference in New Issue
Block a user