mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-02 18:14:26 +00:00
Comment unused variables (#184)
* Comment unused variables * Comment out dead code
This commit is contained in:
parent
7552c1df5e
commit
fd6f48175f
@ -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;
|
||||
|
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user