From ecc07d4b45bfce67f486226b554444e8fa057245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Mon, 27 Sep 2004 13:45:13 +0000 Subject: [PATCH] Fixed some small mistakes. --- dlls/cstrike/cstrike.cpp | 3 ++- dlls/cstrike/cstrike.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) 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"