mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixes for multiple new issues from Sonar
This commit is contained in:
@ -138,7 +138,7 @@ HeroTypeID MapReaderH3M::readHeroPortrait()
|
||||
|
||||
CreatureID MapReaderH3M::readCreature32()
|
||||
{
|
||||
CreatureID result= CreatureID(reader->readUInt32());
|
||||
CreatureID result(reader->readUInt32());
|
||||
|
||||
if(result.getNum() == features.creatureIdentifierInvalid)
|
||||
return CreatureID::NONE;
|
||||
|
Reference in New Issue
Block a user