From c9f7224a541619d3bd8eaf052096c4f4010565cf Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Mon, 26 Apr 2004 10:51:07 +0000 Subject: [PATCH] - fixed 'jump' on flower collection SVN-Revision: 733 --- src/special.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/special.cpp b/src/special.cpp index fe559fb38..ced26fb5b 100644 --- a/src/special.cpp +++ b/src/special.cpp @@ -319,9 +319,12 @@ Upgrade::collision(void* p_c_object, int c_object) { play_sound(sounds[SND_COFFEE], SOUND_CENTER_SPEAKER); pplayer->got_coffee = true; - pplayer->size = BIG; - pplayer->base.height = 64; - pplayer->base.y -= 32; + if (pplayer->size == SMALL) + { + pplayer->size = BIG; + pplayer->base.height = 64; + pplayer->base.y -= 32; + } if(collision_object_map(pplayer->base)) { pplayer->base.height = 32; -- 2.11.0