mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
Removed unused variable
This commit is contained in:
@@ -3169,7 +3169,6 @@ namespace Game {
|
||||
|
||||
bool UnitUpdater::hasEnemyUnitsOnSight(const Unit *unit, bool limitByAttackRange) {
|
||||
vector<Unit*> enemies;
|
||||
float distToUnit = -1;
|
||||
for (int i = 0; i < unit->getType()->getSkillTypeCount(); ++i) {
|
||||
const SkillType *st = unit->getType()->getSkillType(i);
|
||||
const AttackSkillType *ast = dynamic_cast<const AttackSkillType *>(st);
|
||||
|
Reference in New Issue
Block a user