Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 80bb0c2

Browse files
committed
Fixed crab limbpaths not drawing when DrawLimbPathVisualizations is turned on
1 parent 3d44ee1 commit 80bb0c2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Entities/ACrab.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2775,8 +2775,10 @@ void ACrab::Draw(BITMAP *pTargetBitmap, const Vector &targetPos, DrawMode mode,
27752775
}
27762776

27772777
if (mode == g_DrawColor && !onlyPhysical && g_SettingsMan.DrawLimbPathVisualizations()) {
2778-
m_Paths[LEFTSIDE][WALK]->Draw(pTargetBitmap, targetPos, 122);
2779-
m_Paths[RIGHTSIDE][WALK]->Draw(pTargetBitmap, targetPos, 122);
2778+
m_Paths[LEFTSIDE][BGROUND][WALK].Draw(pTargetBitmap, targetPos, 122);
2779+
m_Paths[LEFTSIDE][FGROUND][WALK].Draw(pTargetBitmap, targetPos, 122);
2780+
m_Paths[RIGHTSIDE][BGROUND][WALK].Draw(pTargetBitmap, targetPos, 122);
2781+
m_Paths[RIGHTSIDE][FGROUND][WALK].Draw(pTargetBitmap, targetPos, 122);
27802782
}
27812783
}
27822784

0 commit comments

Comments
 (0)