1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 18:15:35 +00:00

Creatures with no movement should not attempt to start combat (Fixes #2786)

This commit is contained in:
scrawl 2015-07-31 01:26:26 +02:00
parent f326b8e5d2
commit 7644a46ded

View file

@ -291,6 +291,10 @@ namespace MWMechanics
return;
}
// no combat for totally static creatures (they have no movement or attack animations anyway)
if (!actor1.getClass().isMobile(actor1))
return;
bool aggressive;
if (againstPlayer)