| 8 | IMPLEMENT(Place_Guard); |
| 9 | |
| 10 | bool Place_Guard::execute(aithread &thread) const |
| 11 | { |
| 12 | // Retrieve parameters |
| 13 | WORD wUnitType; |
| 14 | BYTE bGuardType; |
| 15 | thread.readTuple( std::tie(wUnitType, bGuardType) ); |
| 16 | |
| 17 | // Execution |
| 18 | // this->pTown->PlaceGuard(bGuardType, wUnitType); |
| 19 | |
| 20 | // Save debug info and return |
| 21 | thread.saveDebug(Text::Red, this->getOpcode(), "%s %u", AISCRIPT::getUnitName(wUnitType), bGuardType); |
| 22 | return true; |
| 23 | } |
nothing calls this directly
no test coverage detected