mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 16:29:55 +00:00
Allow training window exit()
This commit is contained in:
parent
9cde3e4408
commit
479f9535b4
2 changed files with 7 additions and 1 deletions
|
@ -203,4 +203,10 @@ namespace MWGui
|
|||
checkReferenceAvailable();
|
||||
mTimeAdvancer.onFrame(dt);
|
||||
}
|
||||
|
||||
bool TrainingWindow::exit()
|
||||
{
|
||||
return !mTimeAdvancer.isRunning();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace MWGui
|
|||
|
||||
virtual void onOpen();
|
||||
|
||||
bool exit() { return false; }
|
||||
bool exit();
|
||||
|
||||
void setPtr(const MWWorld::Ptr& actor);
|
||||
|
||||
|
|
Loading…
Reference in a new issue