project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m
branchios-revival
changeset 11148 064a53861759
parent 11131 29d0a5c04b3b
child 11279 c0d6f6ffa798
--- a/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Thu Sep 10 01:31:52 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Thu Sep 10 01:49:15 2015 +0200
@@ -287,7 +287,7 @@
 
     // save changes in the main array
     NSMutableArray *array = [self.schemeDictionary objectForKey:@"basic"];
-    [array replaceObjectAtIndex:theSlider.tag-SLIDER_TAG withObject:[NSNumber numberWithInt:(NSInteger) theSlider.value]];
+    [array replaceObjectAtIndex:theSlider.tag-SLIDER_TAG withObject:[NSNumber numberWithInteger:theSlider.value]];
 }
 
 #pragma mark -