small clear up of error messages

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@645 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Giles Williams 2006-07-07 15:45:05 +00:00
parent 16a2c1e073
commit 99ec62ce87

View File

@ -3162,7 +3162,7 @@ ShipEntity* doOctreesCollide(ShipEntity* prime, ShipEntity* other)
resetFrame.k = vk;
Vector vel = make_vector( vk.x * flight_speed, vk.y * flight_speed, vk.z * flight_speed);
if (isPlayer)
if ((isPlayer)&&(debug))
NSLog(@"DEBUG resetting tracking for %@", self);
[self resetFramesFromFrame:resetFrame withVelocity:vel];
@ -3177,7 +3177,7 @@ ShipEntity* doOctreesCollide(ShipEntity* prime, ShipEntity* other)
if ((se->isParticle)&&([(ParticleEntity*)se particleType] == PARTICLE_EXHAUST))
{
if (isPlayer)
if ((isPlayer)&&(debug))
NSLog(@"DEBUG resetting tracking for subentity %@ of %@", se, self);
resetFrame.position = make_vector(