commit 1ac868718c4a94ce27cbbed7965e11d16383c856
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Jan 7 14:25:51 2019 +0100
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Jan 7 14:25:51 2019 +0100
save a pointer to the current map lump info struct
---
src/doom/p_setup.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/doom/p_setup.c b/src/doom/p_setup.c
index 26c72674..9d976086 100644
--- a/src/doom/p_setup.c
+++ b/src/doom/p_setup.c
@@ -760,6 +760,9 @@ static void P_LoadReject(int lumpnum)
}
}
+// [crispy] pointer to the current map lump info struct
+lumpinfo_t *maplumpinfo;
+
//
// P_SetupLevel
//
@@ -816,6 +819,9 @@ P_SetupLevel
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