--- a/project_files/HedgewarsMobile/Classes/GameSetup.m Mon Oct 04 00:00:42 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.m Wed Oct 06 02:31:04 2010 +0200
@@ -123,7 +123,7 @@
NSString *update = @"";
// if we're loading an older version of ammos fill the engine message with 0s
- int diff = CURRENT_AMMOSIZE - [[ammoData objectForKey:@"version"] intValue];
+ int diff = HW_getNumberOfWeapons() - [[ammoData objectForKey:@"version"] intValue];
if (diff != 0)
update = [NSString stringWithCharacters:(const unichar*)"0000000000000000000000000000000000" length:diff];