projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae0ca6
)
- fixed 'jump' on flower collection
author
Ingo Ruhnke
<grumbel@gmx.de>
Mon, 26 Apr 2004 10:51:07 +0000
(10:51 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Mon, 26 Apr 2004 10:51:07 +0000
(10:51 +0000)
SVN-Revision: 733
src/special.cpp
patch
|
blob
|
history
diff --git
a/src/special.cpp
b/src/special.cpp
index
fe559fb
..
ced26fb
100644
(file)
--- 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;