Skip to content

Commit

Permalink
Fix typo in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanieon committed Nov 27, 2024
1 parent dad153a commit 22ac495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void function RateSpawnpoints_CTF( int checkClass, array<entity> spawnpoints, in

float allyFlagDistance = Distance2D( spawn.GetOrigin(), allyFlagSpot )
float enemyFlagDistance = Distance2D( spawn.GetOrigin(), enemyFlagSpot )
float friendliesScore = spawn.NearbyAllyScore( team, "ai" ) + spawn.NearbyAllyScore( team, "titan" ) + spawn.NearbyEnemyScore( team, "pilot" )
float friendliesScore = spawn.NearbyAllyScore( team, "ai" ) + spawn.NearbyAllyScore( team, "titan" ) + spawn.NearbyAllyScore( team, "pilot" )
float enemiesRating = spawn.NearbyEnemyScore( team, "ai" ) + spawn.NearbyEnemyScore( team, "titan" ) + spawn.NearbyEnemyScore( team, "pilot" )
float rating = 1.0 - ( Distance2D( spawn.GetOrigin(), allyFlagSpot ) / MAP_EXTENTS )

Expand Down

0 comments on commit 22ac495

Please sign in to comment.