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