From b246906e00beeb70c12074b417c0a90de00818d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pale=C4=8Dek?= Date: Fri, 18 Aug 2023 12:09:36 +0200 Subject: [PATCH] properly initialise harmless fish (#2589) In #2587 I missed a few things (a forgotten collision group setting in the constructor I left there from testing + I forgot to call the parent's initialize() function). It was merged before I noticed. This fixes it. --- src/badguy/fish_harmless.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/badguy/fish_harmless.cpp b/src/badguy/fish_harmless.cpp index f6316cdebd5..7a2f683d0ef 100644 --- a/src/badguy/fish_harmless.cpp +++ b/src/badguy/fish_harmless.cpp @@ -20,12 +20,12 @@ FishHarmless::FishHarmless(const ReaderMapping& reader) : FishSwimming(reader, "images/creatures/fish/ice/goldfish.sprite") { m_countMe = false; - set_group(COLGROUP_DISABLED); } void FishHarmless::initialize() { + FishSwimming::initialize(); set_group(COLGROUP_MOVING_ONLY_STATIC); }