From 1d182a00d99d763a9c92ab5c73d183e1d4177cc6 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Tue, 25 May 2004 15:32:45 +0000 Subject: [PATCH] Disable gravity when on flying platform. SVN-Revision: 1326 --- src/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player.cpp b/src/player.cpp index 18539a4c1..88b67611c 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -822,6 +822,7 @@ Player::collision(void* p_c_object, int c_object) pplatform_c = (FlyingPlatform*) p_c_object; base.y = pplatform_c->base.y - base.height; + physic.enable_gravity(false); break; default: -- 2.11.0