diff --git a/amxmodx/util.cpp b/amxmodx/util.cpp index 913e1427..8b3713dc 100755 --- a/amxmodx/util.cpp +++ b/amxmodx/util.cpp @@ -373,8 +373,8 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1, { if ((*aa).matchCommandLine(cmd, arg1) && (*aa).getPlugin()->isExecutable((*aa).getFunction())) { - if (executeForwards((*aa).getFunction(), static_cast(GET_PLAYER_POINTER(pEdict)->index)), - static_cast((*aa).getFlags()), static_cast((*aa).getId()) > 0) + if (executeForwards((*aa).getFunction(), static_cast(GET_PLAYER_POINTER(pEdict)->index), + static_cast((*aa).getFlags()), static_cast((*aa).getId())) > 0) { g_fakecmd.notify = false; return;