summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gamedata/engine.kv4
-rw-r--r--src/fixes.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/gamedata/engine.kv b/gamedata/engine.kv
index 58511db..e72fa3f 100644
--- a/gamedata/engine.kv
+++ b/gamedata/engine.kv
@@ -89,11 +89,11 @@ off_SP_offset {
// IEngineVGuiInternal/CEngineVGui
vtidx_VGuiConnect { // note: the actual name is Connect() but that's too generic
default "3 + NVDTOR"
- Portal2 "4 + NVDTOR" // ActivateGameUI added
+ L4Dbased "4 + NVDTOR" // ActivateGameUI added
}
vtidx_VGuiIsInitialized { // likewise, function is just called IsInitialized()
default "6 + NVDTOR"
- Portal2 "7 + NVDTOR"
+ L4Dbased "7 + NVDTOR"
}
// vi: sw=4 ts=4 noet tw=80 cc=80 ft=plain
diff --git a/src/fixes.c b/src/fixes.c
index b2eaf91..8d5bb77 100644
--- a/src/fixes.c
+++ b/src/fixes.c
@@ -169,7 +169,6 @@ static void l4d1specific(void) {
// these hidden variables to 0 gets rid of it.
struct con_var *v = con_findvar("ui_l4d_debug");
if (v) con_setvari(v, 0);
- // FIXME: this is borked with deferred init. Does gameui load SUPER late?
v = con_findvar("mm_l4d_debug");
if (v) con_setvari(v, 0);