From 6da1dc3e4aa1e4790759adf4ccef4d5f51da0305 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 30 Aug 2004 16:14:41 +0000 Subject: [PATCH] Fixed bug in set_msg_arg_int() reported by fsfod --- dlls/engine/messages.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/engine/messages.cpp b/dlls/engine/messages.cpp index 119f5d38..256f7cc2 100755 --- a/dlls/engine/messages.cpp +++ b/dlls/engine/messages.cpp @@ -382,7 +382,8 @@ static cell AMX_NATIVE_CALL set_msg_arg_int(AMX *amx, cell *params) return 0; } - Msg[argn]->iData = params[2]; + Msg[argn]->type = params[2]; + Msg[argn]->iData = params[3]; return 1; }