Skip to content

Commit 09a8347

Browse files
Fix Ivies playing the gliding animation on Granitos and similar moving solids
1 parent a535a50 commit 09a8347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/badguy/viciousivy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ ViciousIvy::active_update(float dt_sec)
106106
floatbox.set_bottom(get_bbox().get_bottom() + 8.f);
107107

108108
const bool ignore_unisolid = on_top_of_water || m_physic.get_velocity_y() < 0.0f;
109-
bool float_here = (Sector::get().is_free_of_statics(floatbox, nullptr, ignore_unisolid));
109+
bool float_here = (Sector::get().is_free_of_movingstatics(floatbox, this, ignore_unisolid));
110110

111111
if (in_water)
112112
{

0 commit comments

Comments
 (0)