| 594 | //========================================================================== |
| 595 | |
| 596 | void T_PreprocessScripts(FLevelLocals *Level) |
| 597 | { |
| 598 | DFraggleThinker *th = Level->FraggleScriptThinker; |
| 599 | if (th) |
| 600 | { |
| 601 | // run the levelscript first |
| 602 | // get the other scripts |
| 603 | |
| 604 | // levelscript started by player 0 'superplayer' |
| 605 | th->LevelScript->trigger = Level->Players[0]->mo; |
| 606 | |
| 607 | th->LevelScript->Preprocess(Level); |
| 608 | th->LevelScript->ParseScript(nullptr, th); |
| 609 | } |
| 610 | } |
| 611 | |
| 612 | //========================================================================== |
| 613 | // |
no test coverage detected