- SW: Test adding Duke's DrawAutomapAlignmentFacing() code into SW for consistency between the ports.

This commit is contained in:
Mitchell Richters 2022-09-06 09:57:09 +10:00 committed by Christoph Oelckers
parent ab77d77a53
commit e3bbb60de4

View file

@ -1596,6 +1596,9 @@ bool GameInterface::DrawAutomapPlayer(const DVector2& mxy, const DVector2& cpos,
switch (actor->spr.cstat & CSTAT_SPRITE_ALIGNMENT_MASK)
{
case CSTAT_SPRITE_ALIGNMENT_FACING: // Regular sprite
DrawAutomapAlignmentFacing(actor->spr, sprxy, cangvect, czoom, xydim, col);
break;
case CSTAT_SPRITE_ALIGNMENT_WALL: // Rotated sprite
DrawAutomapAlignmentWall(actor->spr, sprxy, cangvect, czoom, xydim, col);
break;