pplayer->size = BIG;
pplayer->base.height = 64;
pplayer->base.y -= 32;
- if(collision_object_map(&pplayer->base))
+ if(collision_object_map(pplayer->base))
{
pplayer->base.height = 32;
pplayer->base.y += 32;
{
play_sound(sounds[SND_COFFEE], SOUND_CENTER_SPEAKER);
pplayer->got_coffee = true;
+ pplayer->size = BIG;
+ pplayer->base.height = 64;
+ pplayer->base.y -= 32;
+ if(collision_object_map(pplayer->base))
+ {
+ pplayer->base.height = 32;
+ pplayer->base.y += 32;
+ pplayer->duck = true;
+ }
}
else if (kind == UPGRADE_HERRING)
{