mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 20:46:03 +08:00
Modified SDK for GCC 4.1
This commit is contained in:
@ -154,7 +154,7 @@ IMPLEMENT_NETWORKCLASS_ALIASED( SDKGameRulesProxy, DT_SDKGameRulesProxy )
|
||||
CSDKGameRules::CSDKGameRules()
|
||||
{
|
||||
// Create the team managers
|
||||
for ( int i = 0; i < ARRAYSIZE( sTeamNames ); i++ )
|
||||
for ( int i = 0; i < static_cast<int>(ARRAYSIZE( sTeamNames )); i++ )
|
||||
{
|
||||
CTeam *pTeam = static_cast<CTeam*>(CreateEntityByName( "sdk_team_manager" ));
|
||||
pTeam->Init( sTeamNames[i], i );
|
||||
|
Reference in New Issue
Block a user