Skip to content

Commit

Permalink
KOTORBASE: Fix load screen for swoop races
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Apr 7, 2019
1 parent bfc8f32 commit 107b018
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/engines/kotorbase/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ void Module::loadModule(const Common::UString &module, const Common::UString &en
ObjectType entryLocationType) {
_ingame->hide();

Common::ScopedPtr<KotORBase::LoadScreen> loadScreen(createLoadScreen(module));
Common::ScopedPtr<KotORBase::LoadScreen> loadScreen;
if (module.endsWith("mg"))
loadScreen.reset(createLoadScreen("swoop"));
else
loadScreen.reset(createLoadScreen(module));
loadScreen->show();

unload(false);
Expand Down

0 comments on commit 107b018

Please sign in to comment.