Fix being able to activate magic bolts mid-flight

pull/22/head
scrawl 11 years ago
parent ac4c904e62
commit 9b9c39af7a

@ -509,6 +509,9 @@ void OMW::Engine::activate()
if (ptr.isEmpty())
return;
if (ptr.getClass().getName(ptr) == "") // objects without name presented to user can never be activated
return;
MWScript::InterpreterContext interpreterContext (&ptr.getRefData().getLocals(), ptr);
boost::shared_ptr<MWWorld::Action> action =

Loading…
Cancel
Save