summary refs log tree commit diff stats
path: root/Classes/JumpGameMode.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/JumpGameMode.m')
-rw-r--r--Classes/JumpGameMode.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Classes/JumpGameMode.m b/Classes/JumpGameMode.m index 14cd365..2bc69d8 100644 --- a/Classes/JumpGameMode.m +++ b/Classes/JumpGameMode.m
@@ -144,7 +144,7 @@
144 } 144 }
145 } 145 }
146 146
147 if ((waterTick >= 180) || ([object flag:0])) 147 if ((waterTick >= 180) || ((waterTick > 0) && ([object flag:0])))
148 { 148 {
149 object.sprite.position = ccp(object.sprite.position.x, MAX(object.sprite.position.y, water.position.y+80+11)); 149 object.sprite.position = ccp(object.sprite.position.x, MAX(object.sprite.position.y, water.position.y+80+11));
150 } else { 150 } else {