Another Demo2 change: no comms message will be received when on Demo2 screen.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1498 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
96330a81a4
commit
8102efee75
@ -5162,6 +5162,8 @@ OOINLINE BOOL EntityInRange(Vector p1, Entity *e2, float range)
|
||||
|
||||
- (void) addCommsMessage:(NSString *)text forCount:(OOTimeDelta)count
|
||||
{
|
||||
if ([PlayerEntity sharedPlayer] && [[PlayerEntity sharedPlayer] showDemoShips]) return;
|
||||
|
||||
if (![currentMessage isEqualToString:text])
|
||||
{
|
||||
PlayerEntity* player = [PlayerEntity sharedPlayer];
|
||||
|
Loading…
x
Reference in New Issue
Block a user