mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-12 12:38:02 +00:00
Creatures with no movement should not attempt to start combat (Fixes #2786)
This commit is contained in:
parent
f326b8e5d2
commit
7644a46ded
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user