fixed pedantic gcc warnings

This commit is contained in:
jeefo 2016-03-13 19:24:19 +03:00
commit fe7a3c7cdc
4 changed files with 5 additions and 5 deletions

View file

@ -355,4 +355,4 @@ public:
static Compressor compressor = Compressor ();
return compressor.InternalEncode (fileName, header, headerSize, buffer, bufferSize);
}
};
};

View file

@ -1485,4 +1485,4 @@ extern ConVar yb_ignore_enemies;
inline int Bot::GetIndex (void)
{
return engine.IndexOfEntity (GetEntity ());
}
}

View file

@ -678,7 +678,7 @@ enum
kRenderTransTexture, // src*a+dest*(1-a)
kRenderGlow, // src*a+dest -- No Z buffer checks
kRenderTransAlpha, // src*srca+dest*(1-srca)
kRenderTransAdd, // src*a+dest
kRenderTransAdd // src*a+dest
};
enum
@ -703,7 +703,7 @@ enum
kRenderFxDeadPlayer, // kRenderAmt is the player index
kRenderFxExplode, // Scale up really big!
kRenderFxGlowShell, // Glowing Shell
kRenderFxClampMinScale, // Keep this sprite from getting very small (SPRITES only!)
kRenderFxClampMinScale // Keep this sprite from getting very small (SPRITES only!)
};

View file

@ -6089,4 +6089,4 @@ float Bot::GetWalkSpeed (void)
return pev->maxspeed;
return static_cast <float> ((static_cast <int> (pev->maxspeed) * 0.5f) + (static_cast <int> (pev->maxspeed) / 50.0f)) - 18.0f;
}
}