diff --git a/src/object/C4Object.cpp b/src/object/C4Object.cpp index b9000575d..f6da7d205 100644 --- a/src/object/C4Object.cpp +++ b/src/object/C4Object.cpp @@ -3079,7 +3079,7 @@ void C4Object::ContactAction() break; case DFA_SWIM: // Try corner scale out - if (!GBackLiquid(GetX(),GetY()-1+Def->Float*Con/FullCon-1)) + if (!GBackSemiSolid(GetX(),GetY()-1+Def->Float*Con/FullCon-1)) if (ObjectActionCornerScale(this)) return; break; } @@ -3149,7 +3149,7 @@ void C4Object::ContactAction() return; case DFA_SWIM: // Only scale if swimming at the surface - if (!GBackLiquid(GetX(),GetY()-1+Def->Float*Con/FullCon-1)) + if (!GBackSemiSolid(GetX(),GetY()-1+Def->Float*Con/FullCon-1)) { // Try scale, only if swimming at the surface. if (ComDirLike(Action.ComDir, COMD_Left)) @@ -3203,7 +3203,7 @@ void C4Object::ContactAction() return; case DFA_SWIM: // Only scale if swimming at the surface - if (!GBackLiquid(GetX(),GetY()-1+Def->Float*Con/FullCon-1)) + if (!GBackSemiSolid(GetX(),GetY()-1+Def->Float*Con/FullCon-1)) { // Try scale if (ComDirLike(Action.ComDir, COMD_Right))