mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-02 08:22:25 +00:00
Fix warning C4805: '!=': unsafe mix of type 'bool' and type 'int' in operation
This commit is contained in:
parent
931d241056
commit
c9a9e93c66
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ bool changerenderer;
|
||||||
// Software OpenGL canvas
|
// Software OpenGL canvas
|
||||||
CUSTOM_CVAR(Bool, vid_used3d, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
CUSTOM_CVAR(Bool, vid_used3d, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
if (self != currentcanvas)
|
if ((self ? 1 : 0) != currentcanvas)
|
||||||
Printf("You must restart " GAMENAME " for this change to take effect.\n");
|
Printf("You must restart " GAMENAME " for this change to take effect.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue