diff options
author | Eugene Sandulenko | 2016-11-20 23:38:04 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-11-20 23:38:33 +0100 |
commit | cce8885b3967c4faddaa1808d0a9c1b62a78d860 (patch) | |
tree | 3c6438778c578d0c7c32ac9c969d59051b2bda44 /engines/scumm/he/moonbase/ai_defenseunit.cpp | |
parent | fe8fbf70076a111d41a24423db06cca5c2768a1a (diff) | |
download | scummvm-rg350-cce8885b3967c4faddaa1808d0a9c1b62a78d860.tar.gz scummvm-rg350-cce8885b3967c4faddaa1808d0a9c1b62a78d860.tar.bz2 scummvm-rg350-cce8885b3967c4faddaa1808d0a9c1b62a78d860.zip |
SCUMM HE: Hid noisy Moonbase AI warnings under debug channel
Diffstat (limited to 'engines/scumm/he/moonbase/ai_defenseunit.cpp')
-rw-r--r-- | engines/scumm/he/moonbase/ai_defenseunit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/he/moonbase/ai_defenseunit.cpp b/engines/scumm/he/moonbase/ai_defenseunit.cpp index ab61297603..71a4b0562d 100644 --- a/engines/scumm/he/moonbase/ai_defenseunit.cpp +++ b/engines/scumm/he/moonbase/ai_defenseunit.cpp @@ -228,7 +228,7 @@ Common::Point *ShieldUnit::createTargetPos(int index, int distance, int weaponTy } int ShieldUnit::selectWeapon(int index) { - warning("Shield weapon select"); + debugC(DEBUG_MOONBASE_AI, "Shield weapon select"); int myUnit = _ai->getClosestUnit(getPosX(), getPosY(), _ai->getMaxX(), _ai->getCurrentPlayer(), 1, BUILDING_MAIN_BASE, 1, 0); int dist = _ai->getDistance(getPosX(), getPosY(), _ai->getHubX(myUnit), _ai->getHubY(myUnit)); @@ -341,7 +341,7 @@ Common::Point *HubUnit::createTargetPos(int index, int distance, int weaponType, } int HubUnit::selectWeapon(int index) { - warning("Hub weapon select"); + debugC(DEBUG_MOONBASE_AI, "Hub weapon select"); int energy = _ai->getPlayerEnergy(); @@ -489,7 +489,7 @@ Common::Point *EnergyUnit::createTargetPos(int index, int distance, int weaponTy } int EnergyUnit::selectWeapon(int index) { - warning("Energy weapon select"); + debugC(DEBUG_MOONBASE_AI, "Energy weapon select"); int energy = _ai->getPlayerEnergy(); @@ -545,7 +545,7 @@ Common::Point *OffenseUnit::createTargetPos(int index, int distance, int weaponT } int OffenseUnit::selectWeapon(int index) { - warning("Offense weapon select"); + debugC(DEBUG_MOONBASE_AI, "Offense weapon select"); int energy = _ai->getPlayerEnergy(); @@ -596,7 +596,7 @@ Common::Point *CrawlerUnit::createTargetPos(int index, int distance, int weaponT } int CrawlerUnit::selectWeapon(int index) { - warning("Crawler weapon select"); + debugC(DEBUG_MOONBASE_AI, "Crawler weapon select"); int myUnit = _ai->getClosestUnit(getPosX(), getPosY(), _ai->getMaxX(), _ai->getCurrentPlayer(), 1, 0, 0, 0); int dist = _ai->getDistance(_ai->getHubX(myUnit), _ai->getHubY(myUnit), getPosX(), getPosY()); |