0x004B4C14
| 2912 | |
| 2913 | // 0x004B4C14 |
| 2914 | static bool orderUpCommand(Vehicles::VehicleHead* const head, const uint32_t orderOffset) |
| 2915 | { |
| 2916 | GameCommands::VehicleOrderUpArgs args{}; |
| 2917 | args.head = head->id; |
| 2918 | args.orderOffset = orderOffset - head->orderTableOffset; |
| 2919 | |
| 2920 | GameCommands::setErrorTitle(StringIds::empty); |
| 2921 | auto result = GameCommands::doCommand(args, GameCommands::Flags::apply); |
| 2922 | |
| 2923 | Vehicles::OrderManager::generateNumDisplayFrames(head); // Note: order changed, check if this matters. |
| 2924 | return result != GameCommands::kFailure; |
| 2925 | } |
| 2926 | |
| 2927 | // 0x004B4CCB based on |
| 2928 | static bool orderDownCommand(Vehicles::VehicleHead* const head, const uint32_t orderOffset) |
nothing calls this directly
no test coverage detected