$$ACTION Objects Destroy All Robots: Spare robot ([o:RobotHandle]) aDestroyAllRobotsSpareHandle Spares the robot with the given handle Parameters: RobotHandle - the handle of the robot to Spare $$END */
| 4632 | $$END |
| 4633 | */ |
| 4634 | void aDestroyAllRobotsSpareHandle(int handle) { |
| 4635 | if (handle != OBJECT_HANDLE_NONE) { |
| 4636 | tKillObjectItem item; |
| 4637 | item.info_type = KOI_HANDLE; |
| 4638 | item.objhandle = handle; |
| 4639 | |
| 4640 | KillRobotList.add(&item); |
| 4641 | } |
| 4642 | } |
| 4643 | |
| 4644 | /* |
| 4645 | $$ACTION |