aboutsummaryrefslogtreecommitdiff
path: root/primedev/scripts/server/miscserverfixes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/scripts/server/miscserverfixes.cpp')
-rw-r--r--primedev/scripts/server/miscserverfixes.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/primedev/scripts/server/miscserverfixes.cpp b/primedev/scripts/server/miscserverfixes.cpp
new file mode 100644
index 00000000..48c2c111
--- /dev/null
+++ b/primedev/scripts/server/miscserverfixes.cpp
@@ -0,0 +1,6 @@
+
+ON_DLL_LOAD("server.dll", MiscServerFixes, (CModule module))
+{
+ // nop out call to VGUI shutdown since it crashes the game when quitting from the console
+ module.Offset(0x154A96).NOP(5);
+}