From 7cbe114cf002cd38e8bd41ef8486ac1f6933d4bf Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 24 Aug 2004 05:07:14 +0000 Subject: [PATCH] Fixed a message bug --- dlls/engine/messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/engine/messages.cpp b/dlls/engine/messages.cpp index 216bae95..26feaa3c 100755 --- a/dlls/engine/messages.cpp +++ b/dlls/engine/messages.cpp @@ -301,7 +301,7 @@ static cell AMX_NATIVE_CALL register_message(AMX *amx, cell *params) { int len; if (params[1]>0 && params[1] < 256) { - int id = MF_RegisterSPForwardByName(amx, MF_GetAmxString(amx, params[2], 0, &len), FP_CELL, FP_CELL, FP_CELL, FP_DONE); + int id = MF_RegisterSPForwardByName(amx, MF_GetAmxString(amx, params[2], 0, &len), FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE); // MF_Log("Registering message %d with result %d", params[1], id); msgHooks[params[1]] = id; return id;