0x004B4CCB based on
| 2926 | |
| 2927 | // 0x004B4CCB based on |
| 2928 | static bool orderDownCommand(Vehicles::VehicleHead* const head, const uint32_t orderOffset) |
| 2929 | { |
| 2930 | GameCommands::VehicleOrderDownArgs args{}; |
| 2931 | args.head = head->id; |
| 2932 | args.orderOffset = orderOffset - head->orderTableOffset; |
| 2933 | |
| 2934 | GameCommands::setErrorTitle(StringIds::empty); |
| 2935 | auto result = GameCommands::doCommand(args, GameCommands::Flags::apply); |
| 2936 | |
| 2937 | Vehicles::OrderManager::generateNumDisplayFrames(head); // Note: order changed, check if this matters. |
| 2938 | return result != GameCommands::kFailure; |
| 2939 | } |
| 2940 | |
| 2941 | static bool orderReverseCommand(Vehicles::VehicleHead* const head) |
| 2942 | { |
nothing calls this directly
no test coverage detected