diff -r 8474b7fa84d6 -r af2047bb4f70 project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m --- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Wed Nov 23 20:12:16 2011 +0300 +++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Thu Nov 24 16:18:45 2011 +0100 @@ -135,7 +135,7 @@ NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", (int)(width * screenScale)]; NSString *verticalSize = [[NSString alloc] initWithFormat:@"%d", (int)(height * screenScale)]; - NSString *rotation = [[NSString alloc] initWithString:@"0"]; + NSString *resourcePath = [[NSString alloc] initWithFormat:@"%@/Data", [[NSBundle mainBundle] resourcePath]]; NSString *modelId = [HWUtils modelType]; NSInteger tmpQuality; @@ -168,12 +168,12 @@ 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] = [resourcePath UTF8String]; //PathPrefix gameArgs[10] = ([HWUtils gameType] == gtSave) ? [self.savePath UTF8String] : NULL; //recordFileName [verticalSize release]; [horizontalSize release]; - [rotation release]; + [resourcePath release]; [localeString release]; [ipcString release];