From 59098d703e22b3ba0eaa9386b26a948b1c0acd37 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Wed, 12 Apr 2006 02:00:08 +0000 Subject: [PATCH] added debug msgs --- dlls/fakemeta/fakemeta_amxx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/fakemeta/fakemeta_amxx.h b/dlls/fakemeta/fakemeta_amxx.h index 8dc8ebc8..d975fae7 100755 --- a/dlls/fakemeta/fakemeta_amxx.h +++ b/dlls/fakemeta/fakemeta_amxx.h @@ -39,7 +39,7 @@ inline edict_t* INDEXENT2( int iEdictNum ) } #endif -#define CHECK_ENTITY(x) if (x != 0 && (FNullEnt(INDEXENT2(x)) || x < 0 || x > gpGlobals->maxEntities)) { MF_RaiseAmxError(amx,AMX_ERR_NATIVE); return 0; } +#define CHECK_ENTITY(x) if (x != 0 && (FNullEnt(INDEXENT2(x)) || x < 0 || x > gpGlobals->maxEntities)) { MF_LogError(amx, AMX_ERR_NATIVE, "Invalid entity"); return 0; } extern AMX_NATIVE_INFO engfunc_natives[]; extern AMX_NATIVE_INFO dllfunc_natives[]; extern AMX_NATIVE_INFO forward_natives[];