Skip to content

Commit 00e5b9d

Browse files
committed
Fix rebase errors
1 parent f32bc77 commit 00e5b9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/badguy/ghoul.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Ghoul::get_settings()
137137
}
138138

139139
bool
140-
Ghoul::collision_squished(GameObject& object)
140+
Ghoul::collision_squished(MovingObject& object)
141141
{
142142
auto player = Sector::get().get_nearest_player(m_col.m_bbox);
143143
if (player)

src/badguy/ghoul.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Ghoul final : public BadGuy
2626
static std::string display_name() { return _("Ghoul"); }
2727
std::string get_class_name() const override { return class_name(); }
2828
std::string get_display_name() const override { return display_name(); }
29-
virtual GameObjectClasses get_class_types() const override { return BadGuy::get_class_types().add(typeid(PathObject)).add(typeid(Ghoul)); }
29+
virtual GameObjectClasses get_class_types() const override { return BadGuy::get_class_types().add(typeid(Ghoul)); }
3030
virtual bool is_snipable() const override { return true; }
3131
virtual bool is_flammable() const override { return false; }
3232

0 commit comments

Comments
 (0)