--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Mon Sep 26 01:16:15 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Mon Sep 26 01:32:48 2011 +0200
@@ -81,7 +81,6 @@
NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", width * (int)getScreenScale()];
NSString *verticalSize = [[NSString alloc] initWithFormat:@"%d", height * (int)getScreenScale()];
- NSString *rotation = [[NSString alloc] initWithString:@"0"];
NSString *modelId = getModelType();
NSInteger tmpQuality;
@@ -112,12 +111,11 @@
gameArgs[ 6] = [[[settings objectForKey:@"sound"] stringValue] UTF8String]; //isSoundEnabled
gameArgs[ 7] = [[[settings objectForKey:@"music"] stringValue] UTF8String]; //isMusicEnabled
gameArgs[ 8] = [[[settings objectForKey:@"alternate"] stringValue] UTF8String]; //cAltDamage
- gameArgs[ 9] = [rotation UTF8String]; //rotateQt
+ gameArgs[ 9] = [[[NSBundle mainBundle] resourcePath] UTF8String]; //PathPrefix
gameArgs[10] = (self.gameType == gtSave) ? [self.savePath UTF8String] : NULL; //recordFileName
[verticalSize release];
[horizontalSize release];
- [rotation release];
[localeString release];
[ipcString release];