Added a check to prevent the ' Jousting' after a hit observed by Switeck.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4386 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
a2790a34da
commit
ebdb82a6de
@ -8769,7 +8769,7 @@ Vector positionOffsetForShipInRotationToAlignment(ShipEntity* ship, Quaternion q
|
||||
[hunter markAsOffender:64];
|
||||
}
|
||||
|
||||
if ([hunter group] == group || (iAmTheLaw && uAreTheLaw))
|
||||
if ((group != nil && [hunter group] == group) || (iAmTheLaw && uAreTheLaw))
|
||||
{
|
||||
// avoid shooting each other
|
||||
if ([hunter behaviour] == BEHAVIOUR_ATTACK_FLY_TO_TARGET) // avoid me please!
|
||||
|
Loading…
x
Reference in New Issue
Block a user