| 4288 | } |
| 4289 | |
| 4290 | static void removeBoatGhost(const Vehicles::VehicleHead& head) |
| 4291 | { |
| 4292 | // Note: don't use isPlaced as we need to know if its a ghost |
| 4293 | // consider creating isGhostPlaced |
| 4294 | if (head.tileX != -1 && head.has38Flags(Vehicles::Flags38::isGhost)) |
| 4295 | { |
| 4296 | GameCommands::VehiclePickupWaterArgs gcArgs{}; |
| 4297 | gcArgs.head = head.id; |
| 4298 | auto flags = GameCommands::Flags::apply | GameCommands::Flags::noErrorWindow | GameCommands::Flags::ghost; |
| 4299 | GameCommands::doCommand(gcArgs, flags); |
| 4300 | } |
| 4301 | _ghostTrackProgress = -1; |
| 4302 | } |
| 4303 | |
| 4304 | // 0x004B2B9E |
| 4305 | static void pickupToolUpdateWater(const Vehicles::VehicleHead& head, const int16_t x, const int16_t y) |
no test coverage detected