Skip to content

Commit

Permalink
Set active collision group in FishHarmless::initialize()
Browse files Browse the repository at this point in the history
Previously, only the current collision group was set on initialization, which caused re-activating the fish to have its collision group set to a different one.

This issue is now fixed, by setting the active collision group on initialization as well.
  • Loading branch information
Vankata453 authored Aug 18, 2023
1 parent b246906 commit 0836c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/badguy/fish_harmless.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void
FishHarmless::initialize()
{
FishSwimming::initialize();
set_group(COLGROUP_MOVING_ONLY_STATIC);
set_colgroup_active(COLGROUP_MOVING_ONLY_STATIC);
}

/* EOF */

0 comments on commit 0836c36

Please sign in to comment.