cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 2743 39d097ac2276
parent 2740 03df0573a9fd
child 2772 1965eba10be6
--- a/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m	Wed Feb 03 13:02:28 2010 +0000
+++ b/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m	Wed Feb 03 23:36:42 2010 +0000
@@ -80,7 +80,7 @@
 	// remove the current view to free resources
 	[UIView beginAnimations:@"removing main controller" context:NULL];
 	[UIView setAnimationDuration:1];
-	self.viewController.view.alpha = 0;
+	self.viewController.mainView.alpha = 0;
 	[UIView commitAnimations];
 
 	NSLog(@"Game is launching...");
@@ -100,7 +100,7 @@
 	
 	[UIView beginAnimations:@"inserting main controller" context:NULL];
 	[UIView setAnimationDuration:1];
-	self.viewController.view.alpha = 1;
+	self.viewController.mainView.alpha = 1;
 	[UIView commitAnimations];
 	
 	[internal_pool release];
@@ -122,7 +122,6 @@
 		[saveDict setObject:@"1" forKey:@"music"];
 		[saveDict setObject:@"1" forKey:@"sounds"];
 		[saveDict setObject:@"0" forKey:@"alternate"];
-		[saveDict setObject:@"100" forKey:@"volume"];
 	
 		[saveDict writeToFile:filePath atomically:YES];
 		[saveDict release];