mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 22:09:42 +00:00
Check if the console's selected object is available (bug #5870)
This commit is contained in:
parent
de2bd6d802
commit
f356d0a2fc
3 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
Bug #5371: Keyframe animation tracks are used for any file that begins with an X
|
Bug #5371: Keyframe animation tracks are used for any file that begins with an X
|
||||||
Bug #5714: Touch spells cast using ExplodeSpell don't always explode
|
Bug #5714: Touch spells cast using ExplodeSpell don't always explode
|
||||||
Bug #5849: Paralysis breaks landing
|
Bug #5849: Paralysis breaks landing
|
||||||
|
Bug #5870: Disposing of actors who were selected in the console doesn't deselect them like vanilla
|
||||||
Bug #5883: Immobile creatures don't cause water ripples
|
Bug #5883: Immobile creatures don't cause water ripples
|
||||||
Bug #5977: Fatigueless NPCs' corpse underwater changes animation on game load
|
Bug #5977: Fatigueless NPCs' corpse underwater changes animation on game load
|
||||||
Bug #6313: Followers with high Fight can turn hostile
|
Bug #6313: Followers with high Fight can turn hostile
|
||||||
|
|
|
@ -58,6 +58,7 @@ namespace MWGui
|
||||||
|
|
||||||
void updateSelectedObjectPtr(const MWWorld::Ptr& currentPtr, const MWWorld::Ptr& newPtr);
|
void updateSelectedObjectPtr(const MWWorld::Ptr& currentPtr, const MWWorld::Ptr& newPtr);
|
||||||
|
|
||||||
|
void onFrame(float dt) override { checkReferenceAvailable(); }
|
||||||
void clear() override;
|
void clear() override;
|
||||||
|
|
||||||
void resetReference() override;
|
void resetReference() override;
|
||||||
|
|
|
@ -895,6 +895,9 @@ namespace MWGui
|
||||||
|
|
||||||
mDebugWindow->onFrame(frameDuration);
|
mDebugWindow->onFrame(frameDuration);
|
||||||
|
|
||||||
|
if (isConsoleMode())
|
||||||
|
mConsole->onFrame(frameDuration);
|
||||||
|
|
||||||
if (!gameRunning)
|
if (!gameRunning)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue