diff --git a/dlls/cstrike/cstrike.cpp b/dlls/cstrike/cstrike.cpp index 344d1cab..ab1f9c11 100755 --- a/dlls/cstrike/cstrike.cpp +++ b/dlls/cstrike/cstrike.cpp @@ -613,7 +613,8 @@ static cell AMX_NATIVE_CALL cs_set_user_team(AMX *amx, cell *params) // cs_set_u strcpy(teaminfo, "SPECTATOR"); break; default: - sprintf(teaminfo, "TEAM_%d", params[2]); + int team_nr = (int)params[2]; + sprintf(teaminfo, "TEAM_%i", team_nr); } MESSAGE_BEGIN(MSG_ALL, GET_USER_MSG_ID(PLID, "TeamInfo", NULL)); WRITE_BYTE(params[1]); diff --git a/dlls/cstrike/cstrike.h b/dlls/cstrike/cstrike.h index 4c370c5f..65a3e6c8 100755 --- a/dlls/cstrike/cstrike.h +++ b/dlls/cstrike/cstrike.h @@ -34,8 +34,6 @@ // cstrike MODULE TO DO HERE: http://www.amxmodx.org/forums/viewtopic.php?t=45 // This implementation uses Vexd's way (lightly modified) of setting models on players. -#define __amd64__ - #include #include #include "amxxmodule.h"