diff --git a/src/Core/Entities/OOVisualEffectEntity.m b/src/Core/Entities/OOVisualEffectEntity.m index 5c7c612b..1b5a4585 100644 --- a/src/Core/Entities/OOVisualEffectEntity.m +++ b/src/Core/Entities/OOVisualEffectEntity.m @@ -88,7 +88,6 @@ MA 02110-1301, USA. self = nil; } - collisionTestFilter = NO; _haveExecutedSpawnAction = NO; return self; @@ -107,6 +106,8 @@ MA 02110-1301, USA. orientation = kIdentityQuaternion; rotMatrix = kIdentityMatrix; + collision_radius = 0; + NSString *modelName = [effectDict oo_stringForKey:@"model"]; if (modelName != nil) { diff --git a/src/Core/Entities/PlayerEntityContracts.m b/src/Core/Entities/PlayerEntityContracts.m index d140d2b0..95f34070 100644 --- a/src/Core/Entities/PlayerEntityContracts.m +++ b/src/Core/Entities/PlayerEntityContracts.m @@ -1342,7 +1342,7 @@ static NSString * const kOOLogNoteShowShipyardModel = @"script.debug.note.showSh NSInteger page_offset = 0; BOOL multi_page = NO; - NSUInteger total_rows = cargoRowCount + [passengerManifest count] + [contractManifest count] + [missionsManifest count] + 4; + NSUInteger total_rows = cargoRowCount + [passengerManifest count] + [contractManifest count] + [missionsManifest count] + [parcelManifest count] + 5; if (total_rows > max_rows) { max_rows -= 2;