Fixed amb226 - missing return after pfnClientPrintf

This commit is contained in:
Scott Ehlert 2007-04-20 19:02:35 +00:00
parent 2c2259ea15
commit 8e1f54465d

View File

@ -1071,6 +1071,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
temp = MF_GetAmxString(amx,params[4], 0, &len); temp = MF_GetAmxString(amx,params[4], 0, &len);
(*g_engfuncs.pfnClientPrintf)(INDEXENT2(index), static_cast<PRINT_TYPE>(iparam1), temp); (*g_engfuncs.pfnClientPrintf)(INDEXENT2(index), static_cast<PRINT_TYPE>(iparam1), temp);
return 1;
default: default:
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown engfunc type %d", type); MF_LogError(amx, AMX_ERR_NATIVE, "Unknown engfunc type %d", type);
return 0; return 0;