ref: 1ac868718c4a94ce27cbbed7965e11d16383c856
parent: 78886030b9a08a39f46e0e53b64194b59813f21c
author: Fabian Greffrath <fabian@greffrath.com>
date: Mon Jan 7 09:25:51 EST 2019
save a pointer to the current map lump info struct
--- a/src/doom/p_setup.c
+++ b/src/doom/p_setup.c
@@ -760,6 +760,9 @@
}
}
+// [crispy] pointer to the current map lump info struct
+lumpinfo_t *maplumpinfo;
+
//
// P_SetupLevel
//
@@ -816,6 +819,9 @@
lumpnum = W_GetNumForName (lumpname);
+ // [crispy] pointer to the current map lump info struct
+ maplumpinfo = lumpinfo[lumpnum];
+
leveltime = 0;
// note: most of this ordering is important