mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 23:45:33 +00:00
Creatures with no movement should not attempt to start combat (Fixes #2786)
This commit is contained in:
parent
f326b8e5d2
commit
7644a46ded
1 changed files with 4 additions and 0 deletions
|
@ -291,6 +291,10 @@ namespace MWMechanics
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// no combat for totally static creatures (they have no movement or attack animations anyway)
|
||||||
|
if (!actor1.getClass().isMobile(actor1))
|
||||||
|
return;
|
||||||
|
|
||||||
bool aggressive;
|
bool aggressive;
|
||||||
|
|
||||||
if (againstPlayer)
|
if (againstPlayer)
|
||||||
|
|
Loading…
Reference in a new issue