mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 12:36:05 +08:00
Modified SDK for GCC 4.1
This commit is contained in:
@ -185,7 +185,7 @@ void Bot_UpdateDirection( CPluginBot *pBot )
|
||||
{
|
||||
float angledelta = 15.0;
|
||||
|
||||
int maxtries = (int)360.0/angledelta;
|
||||
int maxtries = static_cast<int>(360.0 / angledelta);
|
||||
|
||||
if ( pBot->m_bLastTurnToRight )
|
||||
{
|
||||
|
Reference in New Issue
Block a user