Merge pull request #411 from alexey-lysiuk/randomspawner_warning

Fixed MSVC warning in a_randomspawner.cpp
This commit is contained in:
coelckers 2015-10-11 09:41:05 +02:00
commit 8e2810865b

View file

@ -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