stations are not scoopable (!)

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@297 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Giles Williams 2006-03-06 15:58:59 +00:00
parent 6055ce878c
commit 28c91b801f

View File

@ -6040,6 +6040,8 @@ Vector randomPositionInBoundingBox(BoundingBox bb)
// NSLog(@"DEBUG other cargo type is not CARGO_NOT_CARGO okay");
// if (([other getCargoType] != CARGO_SCRIPTED_ITEM) && ([other getCommodityAmount] < 1))
// return NO;
if (other->isStation)
return NO;
Vector loc = vector_between( position, other->position);