From 47408443f79881c6058ef77fc7aff0dc3262e0fb Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Tue, 25 Apr 2006 09:08:11 +0000 Subject: [PATCH] Fixed bug with ClientUserInfoChanged forward at28782 (Orangutanz) Also bumped version --- dlls/fakemeta/forward.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/fakemeta/forward.cpp b/dlls/fakemeta/forward.cpp index e5984bbc..2b2b6985 100755 --- a/dlls/fakemeta/forward.cpp +++ b/dlls/fakemeta/forward.cpp @@ -86,13 +86,13 @@ SIMPLE_INT_HOOK_STRING(PrecacheSound); void ClientUserInfoChanged(edict_t *e, char *infobuffer) { - FM_ENG_HANDLE(FM_ClientInfoChanged, ((cell)ENTINDEX(e))); + FM_ENG_HANDLE(FM_ClientInfoChanged, (Engine[FM_ClientInfoChanged].at(i), (cell)ENTINDEX(e))); RETURN_META(mswi(lastFmRes)); } void ClientUserInfoChanged_post(edict_t *e, char *infobuffer) { - FM_ENG_HANDLE_POST(FM_ClientInfoChanged, ((cell)ENTINDEX(e))); + FM_ENG_HANDLE_POST(FM_ClientInfoChanged, (EnginePost[FM_ClientInfoChanged].at(i), (cell)ENTINDEX(e))); RETURN_META(mswi(lastFmRes)); }