Entities designated as excepted for collision with the player will now not limit the torus speed variability. Thanks to Milo for this contribution.
This commit is contained in:
parent
91ad8830fa
commit
07e2ddb81c
@ -32,6 +32,7 @@ Olli Krienke (Svengali)
|
||||
Lazygun
|
||||
Dave MacLachlan (Jester)
|
||||
MaddTheSane
|
||||
Milo
|
||||
Chris Morris (cim)
|
||||
Steve Murphy (Capt. Murphy)
|
||||
Norbert Nagy (Norby)
|
||||
|
@ -3170,7 +3170,7 @@ NSComparisonResult marketSorterByMassUnit(id a, id b, void *market);
|
||||
if (EXPECT_NOT(needHyperspeedNearest))
|
||||
{
|
||||
// not visual effects, waypoints, ships, etc.
|
||||
if (scannedEntity != self && [scannedEntity canCollide])
|
||||
if (scannedEntity != self && [scannedEntity canCollide] && (![scannedEntity isShip] || ![self collisionExceptedFor:(ShipEntity *) scannedEntity]))
|
||||
{
|
||||
hsnDistance = sqrt(scannedEntity->zero_distance)-[scannedEntity collisionRadius];
|
||||
needHyperspeedNearest = NO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user