sound_manager->preload("sounds/yeti_gna.wav");
sound_manager->preload("sounds/yeti_roar.wav");
hud_head.reset(new Surface("images/creatures/yeti/hudlife.png"));
- draw_dead_script_hint = false;
}
Yeti::~Yeti()
}
void
-Yeti::activate()
+Yeti::initialize()
{
dir = RIGHT;
jump_down();
state = SQUISHED;
state_timer.start(SQUISH_TIME);
- set_group(COLGROUP_MOVING_ONLY_STATIC);
+ set_colgroup_active(COLGROUP_MOVING_ONLY_STATIC);
sprite->set_action("dead");
if (countMe) Sector::current()->get_level()->stats.badguys++;
Yeti::kill_fall()
{
// shooting bullets or being invincible won't work :)
- take_hit(*get_nearest_player()); // FIXME: debug only(?)
+ //take_hit(*get_nearest_player()); // FIXME: debug only(?)
}
void