Check if the console's selected object is available (bug #5870)

7220-lua-add-a-general-purpose-lexical-parser
Alexei Kotov 1 year ago
parent de2bd6d802
commit f356d0a2fc

@ -9,6 +9,7 @@
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 #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 #5977: Fatigueless NPCs' corpse underwater changes animation on game load
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 onFrame(float dt) override { checkReferenceAvailable(); }
void clear() override;
void resetReference() override;

@ -895,6 +895,9 @@ namespace MWGui
mDebugWindow->onFrame(frameDuration);
if (isConsoleMode())
mConsole->onFrame(frameDuration);
if (!gameRunning)
return;

Loading…
Cancel
Save