cocoaTouch/GameSetup.m
changeset 3332 3c90a923f156
parent 3328 fe87c2242984
child 3335 2520ee7a5484
--- a/cocoaTouch/GameSetup.m	Sat Apr 10 19:04:39 2010 +0000
+++ b/cocoaTouch/GameSetup.m	Sat Apr 10 20:48:09 2010 +0000
@@ -336,10 +336,10 @@
     
 	gameArgs[0] = [username UTF8String];                                    //UserNick
 	gameArgs[1] = [ipcString UTF8String];                                   //ipcPort
-	gameArgs[2] = [[systemSettings objectForKey:@"sounds"] UTF8String];     //isSoundEnabled
-	gameArgs[3] = [[systemSettings objectForKey:@"music"] UTF8String];      //isMusicEnabled
+	gameArgs[2] = [[[systemSettings objectForKey:@"sounds"] stringValue] UTF8String];     //isSoundEnabled
+	gameArgs[3] = [[[systemSettings objectForKey:@"music"] stringValue] UTF8String];      //isMusicEnabled
 	gameArgs[4] = [localeString UTF8String];                                //cLocaleFName
-	gameArgs[5] = [[systemSettings objectForKey:@"alternate"] UTF8String];	//cAltDamage
+	gameArgs[5] = [[[systemSettings objectForKey:@"alternate"] stringValue] UTF8String];	//cAltDamage
 	gameArgs[6] = [wSize UTF8String];                                       //cScreenHeight
     gameArgs[7] = [hSize UTF8String];                                       //cScreenWidth