From 16f6048d74e66818cb703560bd7b4a4b3cfea3a0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 10 Aug 2007 07:17:40 +0000 Subject: [PATCH] updated comment so future bail doesn't ask "which one is right" --- dlls/cstrike/cstrike/CstrikeHacks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/cstrike/cstrike/CstrikeHacks.cpp b/dlls/cstrike/cstrike/CstrikeHacks.cpp index a73798bb..82bdc244 100644 --- a/dlls/cstrike/cstrike/CstrikeHacks.cpp +++ b/dlls/cstrike/cstrike/CstrikeHacks.cpp @@ -46,7 +46,7 @@ void CtrlDetour_ClientCommand(bool set) { '\x50', /* push eax ; just for safety */ '\x68', '\x00', '\x00', '\x00', '\x00', /* push 0 ; space to store override rule */ - '\xff', '\x74', '\x24', '\x0C', /* push [esp+4] ; push the edict pointer */ + '\xff', '\x74', '\x24', '\x0C', /* push [esp+0xC] ; push the edict pointer */ '\xe8', '\x00', '\x00', '\x00', '\x00', /* call ; call our function */ '\x58', /* pop eax ; remove 3rd push */ '\x58', /* pop eax ; remove 2nd push */