| 6 | IMPLEMENT(Upgrade); |
| 7 | |
| 8 | bool Upgrade::execute(aithread &thread) const |
| 9 | { |
| 10 | // Retrieve parameters |
| 11 | BYTE bUpgradeLevel, bPriority; |
| 12 | WORD wUpgradeType; |
| 13 | thread.readTuple( std::tie(bUpgradeLevel, wUpgradeType, bPriority) ); |
| 14 | |
| 15 | //this->pTown->MacroManagerSet(MACRO_UPGRADE, bUpgLevel, wUpgType, bPriority, false); |
| 16 | |
| 17 | // Save debug info and return |
| 18 | thread.saveDebug(Text::Red, this->getOpcode(), "%3u %s %3u", bUpgradeLevel, UpgradeType(wUpgradeType).c_str(), bPriority); |
| 19 | return true; |
| 20 | } |
nothing calls this directly
no test coverage detected