From 687a0f23da86619cbfd551f44f0107e88aee9a29 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Tue, 28 Sep 2004 17:29:22 +0000 Subject: [PATCH] Added MSG_ONE_UNRELIABLE --- amxmodx/amxmodx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index 61d6cadf..035ecd18 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -1222,12 +1222,13 @@ static cell AMX_NATIVE_CALL message_begin(AMX *amx, cell *params) /* 4 param */ vecOrigin[2] = *(cpOrigin+2); MESSAGE_BEGIN( params[1], params[2] , vecOrigin ); break; + case MSG_ONE_UNRELIABLE: case MSG_ONE: if (numparam < 4) { amx_RaiseError(amx,AMX_ERR_NATIVE); return 0; } - MESSAGE_BEGIN( MSG_ONE, params[2], NULL, INDEXENT(params[4]) ); + MESSAGE_BEGIN( params[1], params[2], NULL, INDEXENT(params[4]) ); break; }