mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
- fix logic error with shader compatibility layer
This commit is contained in:
parent
4c4fafc2c0
commit
2ab4539d40
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ struct Shader native
|
|||
// This interface was deprecated for the pointless player dependency
|
||||
private static bool IsConsolePlayer(PlayerInfo player)
|
||||
{
|
||||
return player && !player.mo && player == players[consoleplayer];
|
||||
return player && player.mo && player == players[consoleplayer];
|
||||
}
|
||||
deprecated("4.8", "Use PPShader.SetEnabled() instead") clearscope static void SetEnabled(PlayerInfo player, string shaderName, bool enable)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue