DEADSOFTWARE

Game: Fix invisibility not being full, which made players visible on some displays
authorDmitry D. Chernov <blackdoomer@yandex.ru>
Thu, 2 Nov 2023 15:23:25 +0000 (01:23 +1000)
committerDmitry D. Chernov <blackdoomer@yandex.ru>
Thu, 2 Nov 2023 15:23:25 +0000 (01:23 +1000)
Bug report: https://doom2d.org/forum/viewtopic.php?f=36&t=3283

src/game/g_player.pas

index d0275d093fca62244370f201ff0cabb68bcb98f8..790d419283314680739cebf3093014f842c0a6de 100644 (file)
@@ -2630,7 +2630,7 @@ begin
           FModel.Draw(fX, fY+fSlope);
       end
       else
-        FModel.Draw(fX, fY+fSlope, 254);
+        FModel.Draw(fX, fY+fSlope, 255);
     end
     else
       FModel.Draw(fX, fY+fSlope);