--- a/cocoaTouch/otherSrc/CommodityFunctions.m Mon Apr 12 21:51:09 2010 +0000
+++ b/cocoaTouch/otherSrc/CommodityFunctions.m Tue Apr 13 14:39:05 2010 +0000
@@ -23,7 +23,7 @@
for (int i = 0; i < MAX_HOGS; i++) {
NSString *hogName = [[NSString alloc] initWithFormat:@"hedgehog %d",i];
- NSDictionary *hog = [[NSDictionary alloc] initWithObjectsAndKeys:@"100",@"health", @"0",@"level",
+ NSDictionary *hog = [[NSDictionary alloc] initWithObjectsAndKeys:@"100",@"health", [NSNumber numberWithInt:0],@"level",
hogName,@"hogname", @"NoHat",@"hat", nil];
[hogName release];
[hedgehogs addObject:hog];