Removed all warnings.

This commit is contained in:
David Anderson
2004-04-01 05:53:22 +00:00
parent b0e6ea16ce
commit 4f4c87d9b2
15 changed files with 117 additions and 82 deletions

View File

@ -169,7 +169,7 @@ char* UTIL_SplitHudMessage(const char *src)
unsigned short FixedUnsigned16( float value, float scale )
{
int output = value * scale;
int output = (int)(value * scale);
if ( output < 0 )
output = 0;
@ -181,7 +181,7 @@ unsigned short FixedUnsigned16( float value, float scale )
short FixedSigned16( float value, float scale )
{
int output = value * scale;
int output = (int)(value * scale);
if ( output > 32767 )
output = 32767;
@ -270,4 +270,4 @@ void UTIL_FakeClientCommand(edict_t *pEdict, const char *cmd, const char *arg1,
g_fakecmd.fake = true;
MDLL_ClientCommand(pEdict);
g_fakecmd.fake = false;
}
}