Fix for beacons not showing up on the Advanced Compass.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1130 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2007-08-08 05:50:58 +00:00
parent 892c271501
commit 8d036b1000

View File

@ -684,7 +684,7 @@ static NSString * const kOOLogEntityBehaviourChanged = @"entity.behaviour.change
{
[beaconCode release];
beaconCode = [bcode copy];
if (beaconCode == nil)
if (beaconCode != nil)
{
beaconChar = [bcode lossyCString][0];
}