| 2715 | } |
| 2716 | |
| 2717 | static void AdjustMoveParams(int& pic_id, Game_Pictures::MoveParams& params) { |
| 2718 | AdjustId(pic_id); |
| 2719 | AdjustParams(params); |
| 2720 | |
| 2721 | if (params.duration > 10000) { |
| 2722 | int new_duration = Main_Data::game_variables->Get(params.duration - 10000); |
| 2723 | Output::Debug("PicPointer: Move duration {} replaced with {}", params.duration, new_duration); |
| 2724 | params.duration = new_duration; |
| 2725 | } |
| 2726 | } |
| 2727 | |
| 2728 | } |
| 2729 |
no test coverage detected