mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
Fixed MSVC warning in a_randomspawner.cpp
...\src\g_shared\a_randomspawner.cpp(32): warning C4800: 'DWORD' : forcing value to bool 'true' or 'false' (performance warning) See http://forum.zdoom.org/viewtopic.php?t=49737
This commit is contained in:
parent
ba651ebff7
commit
fe61b8064a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ static bool IsMonster(const FDropItem *di)
|
|||
return false;
|
||||
}
|
||||
|
||||
return GetDefaultByType(pclass)->flags3 & MF3_ISMONSTER;
|
||||
return 0 != (GetDefaultByType(pclass)->flags3 & MF3_ISMONSTER);
|
||||
}
|
||||
|
||||
class ARandomSpawner : public AActor
|
||||
|
|
Loading…
Reference in a new issue