summary refs log tree commit diff stats
path: root/Classes
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-09-12 21:45:12 -0400
committerStarla Insigna <starla4444@gmail.com>2011-09-12 21:45:12 -0400
commit4d09a715397de91a66f3fbea0fe2b629f64b6e9a (patch)
tree112461b86e411450afc1440b19a160896e93dba4 /Classes
parentf3ea6312f1e0d6a0069c41f71f6f40fdfbd8030a (diff)
downloadcartcollect-4d09a715397de91a66f3fbea0fe2b629f64b6e9a.tar.gz
cartcollect-4d09a715397de91a66f3fbea0fe2b629f64b6e9a.tar.bz2
cartcollect-4d09a715397de91a66f3fbea0fe2b629f64b6e9a.zip
Made the cart in Jump mode fall more quickly
Closes #229
Diffstat (limited to 'Classes')
-rw-r--r--Classes/Cart.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Classes/Cart.m b/Classes/Cart.m index 0344bdf..979226b 100644 --- a/Classes/Cart.m +++ b/Classes/Cart.m
@@ -54,7 +54,7 @@
54 if ((delegate != nil) && ([delegate respondsToSelector:@selector(cartShouldFall:)])) 54 if ((delegate != nil) && ([delegate respondsToSelector:@selector(cartShouldFall:)]))
55 { 55 {
56 int bottom = [delegate cartShouldFall:self]; 56 int bottom = [delegate cartShouldFall:self];
57 sprite.position = ccp(sprite.position.x, MAX(bottom, sprite.position.y-6)); 57 sprite.position = ccp(sprite.position.x, MAX(bottom, sprite.position.y-8));
58 } else { 58 } else {
59 NSLog(@"Falling is set on a cart without a compatible game mode."); 59 NSLog(@"Falling is set on a cart without a compatible game mode.");
60 } 60 }