mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Refactoring: avoid using namespace when it's not absolutely needed
This commit is contained in:
@@ -31,7 +31,6 @@ class Engine;
|
||||
class InputVariable;
|
||||
class CGTownInstance;
|
||||
|
||||
using namespace vstd;
|
||||
//using namespace Goals;
|
||||
|
||||
FuzzyHelper *fh;
|
||||
@@ -85,7 +84,7 @@ armyStructure evaluateArmyStructure (const CArmedInstance * army)
|
||||
if (walker)
|
||||
walkersStrenght += s.second->getPower();
|
||||
|
||||
amax (maxSpeed, s.second->type->valOfBonuses(Bonus::STACKS_SPEED));
|
||||
vstd::amax(maxSpeed, s.second->type->valOfBonuses(Bonus::STACKS_SPEED));
|
||||
}
|
||||
armyStructure as;
|
||||
as.walkers = walkersStrenght / totalStrenght;
|
||||
|
Reference in New Issue
Block a user