Fixed amb226 - missing return after pfnClientPrintf
This commit is contained in:
parent
2c2259ea15
commit
8e1f54465d
@ -1071,6 +1071,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
||||
temp = MF_GetAmxString(amx,params[4], 0, &len);
|
||||
|
||||
(*g_engfuncs.pfnClientPrintf)(INDEXENT2(index), static_cast<PRINT_TYPE>(iparam1), temp);
|
||||
return 1;
|
||||
default:
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown engfunc type %d", type);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user