mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 09:39:56 +00:00
Allow training window exit()
This commit is contained in:
parent
9cde3e4408
commit
479f9535b4
@ -203,4 +203,10 @@ namespace MWGui
|
|||||||
checkReferenceAvailable();
|
checkReferenceAvailable();
|
||||||
mTimeAdvancer.onFrame(dt);
|
mTimeAdvancer.onFrame(dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool TrainingWindow::exit()
|
||||||
|
{
|
||||||
|
return !mTimeAdvancer.isRunning();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ namespace MWGui
|
|||||||
|
|
||||||
virtual void onOpen();
|
virtual void onOpen();
|
||||||
|
|
||||||
bool exit() { return false; }
|
bool exit();
|
||||||
|
|
||||||
void setPtr(const MWWorld::Ptr& actor);
|
void setPtr(const MWWorld::Ptr& actor);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user