diff --git a/cl_dll/MOTD.cpp b/cl_dll/MOTD.cpp index 7947a15f..e186134f 100644 --- a/cl_dll/MOTD.cpp +++ b/cl_dll/MOTD.cpp @@ -66,7 +66,7 @@ int CHudMOTD::Draw( float fTime ) if( !m_bShow ) return 1; gHUD.m_iNoConsolePrint |= 1 << 1; - bool bScroll; + //bool bScroll; // find the top of where the MOTD should be drawn, so the whole thing is centered in the screen int ypos = ( ScreenHeight - LINE_HEIGHT * m_iLines ) / 2; // shift it up slightly char *ch = m_szMOTD; diff --git a/dlls/client.cpp b/dlls/client.cpp index 52c9644d..142b5de8 100644 --- a/dlls/client.cpp +++ b/dlls/client.cpp @@ -270,7 +270,7 @@ decodeError: uValueOut = '?'; bErrorOut = true; return nBytes; - +#if 0 decodeFinishedMaybeCESU8: // Do we have a full UTF-16 surrogate pair that's been UTF-8 encoded afterwards? // That is, do we have 0xD800-0xDBFF followed by 0xDC00-0xDFFF? If so, decode it all. @@ -281,6 +281,7 @@ decodeFinishedMaybeCESU8: uMinValue = 0x10000; } goto decodeFinished; +#endif } //----------------------------------------------------------------------------- @@ -317,7 +318,7 @@ void Host_Say( edict_t *pEntity, int teamonly ) { CBasePlayer *client; int j; - char *p, *pc; + char *p; //, *pc; char text[128]; char szTemp[256]; const char *cpSay = "say"; diff --git a/dlls/combat.cpp b/dlls/combat.cpp index df079af7..1bd5a5bf 100644 --- a/dlls/combat.cpp +++ b/dlls/combat.cpp @@ -1484,7 +1484,7 @@ Vector CBaseEntity::FireBulletsPlayer( ULONG cShots, Vector vecSrc, Vector vecDi Vector vecRight = gpGlobals->v_right; Vector vecUp = gpGlobals->v_up; float x = 0.0f, y = 0.0f; - float z; + //float z; if( pevAttacker == NULL ) pevAttacker = pev; // the default attacker is ourselves