File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ Ghoul::get_settings()
137
137
}
138
138
139
139
bool
140
- Ghoul::collision_squished (GameObject & object)
140
+ Ghoul::collision_squished (MovingObject & object)
141
141
{
142
142
auto player = Sector::get ().get_nearest_player (m_col.m_bbox );
143
143
if (player)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Ghoul final : public BadGuy
26
26
static std::string display_name () { return _ (" Ghoul" ); }
27
27
std::string get_class_name () const override { return class_name (); }
28
28
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)); }
30
30
virtual bool is_snipable () const override { return true ; }
31
31
virtual bool is_flammable () const override { return false ; }
32
32
You can’t perform that action at this time.
0 commit comments