Switching weapons off now deactivates turrets as well.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4118 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
8bf132296c
commit
eafb5ffe2f
@ -7396,6 +7396,8 @@ Vector positionOffsetForShipInRotationToAlignment(ShipEntity* ship, Quaternion q
|
||||
return NO;
|
||||
if (range > weaponRange * 1.01) // 1% more than max range - open up just slightly early
|
||||
return NO;
|
||||
if ([[self rootShipEntity] isPlayer] && ![PLAYER weaponsOnline])
|
||||
return NO;
|
||||
|
||||
Vector origin = position;
|
||||
Entity *last = nil;
|
||||
|
Loading…
x
Reference in New Issue
Block a user