0x004BB116
| 1180 | |
| 1181 | // 0x004BB116 |
| 1182 | static void rightReleasedTree(World::TreeElement* tree, const World::Pos2 pos) |
| 1183 | { |
| 1184 | GameCommands::setErrorTitle(StringIds::error_cant_remove_this); |
| 1185 | GameCommands::TreeRemovalArgs args; |
| 1186 | args.pos = Pos3(pos.x, pos.y, tree->baseHeight()); |
| 1187 | args.elementType = tree->rawData()[0]; |
| 1188 | args.type = tree->treeObjectId(); |
| 1189 | GameCommands::doCommand(args, GameCommands::Flags::apply); |
| 1190 | } |
| 1191 | |
| 1192 | // 0x0042D9BF |
| 1193 | static void rightReleasedBuilding(World::BuildingElement* building, const World::Pos2 pos) |
no test coverage detected