From 2a5f883a489c3bf64cecacafaef4f7f0c73097de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20Mat=C4=9Bjka?= Date: Tue, 26 Jan 2016 14:03:54 +0100 Subject: [PATCH] export EngCheckParm --- rehlds/engine/pr_cmds.cpp | 2 +- rehlds/engine/sys_dll.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rehlds/engine/pr_cmds.cpp b/rehlds/engine/pr_cmds.cpp index cd1d34f..767ec59 100644 --- a/rehlds/engine/pr_cmds.cpp +++ b/rehlds/engine/pr_cmds.cpp @@ -2850,7 +2850,7 @@ int hudCheckParm(char *parm, char **ppnext) } /* <7afa4> ../engine/pr_cmds.c:3532 */ -int EngCheckParm(const char *pchCmdLineToken, char **pchNextVal) +int EXT_FUNC EngCheckParm(const char *pchCmdLineToken, char **pchNextVal) { return hudCheckParm((char*)pchCmdLineToken, pchNextVal); } diff --git a/rehlds/engine/sys_dll.cpp b/rehlds/engine/sys_dll.cpp index 8ca5c54..7f2dffd 100644 --- a/rehlds/engine/sys_dll.cpp +++ b/rehlds/engine/sys_dll.cpp @@ -196,7 +196,8 @@ enginefuncs_t g_engfuncsExportedToDlls = { ProcessTutorMessageDecayBuffer, ConstructTutorMessageDecayBuffer, ResetTutorMessageDecayData, - QueryClientCvarValue, QueryClientCvarValue2 + QueryClientCvarValue, QueryClientCvarValue2, + EngCheckParm }; #else //HOOK_ENGINE