From 17cca4587c1c87bb860a1029c5a233fa9d638f21 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 1 Aug 2005 22:29:19 +0000 Subject: [PATCH] Fixed small bug --- dlls/esforces/esfmod/esf_avatars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/esforces/esfmod/esf_avatars.cpp b/dlls/esforces/esfmod/esf_avatars.cpp index 6a6cd390..aef2b56d 100755 --- a/dlls/esforces/esfmod/esf_avatars.cpp +++ b/dlls/esforces/esfmod/esf_avatars.cpp @@ -100,7 +100,7 @@ static cell AMX_NATIVE_CALL esf_avatar_setmodel(AMX *amx, cell *params) } int len; const char *str = MF_GetAmxString(amx, params[2], 0, &len); - SET_MODEL(player, STRING(ALLOC_STRING(str))); + SET_MODEL(pEntity, STRING(ALLOC_STRING(str))); return 1; }