mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
went through the rest of cppcheck warnings, mostly harmless
This commit is contained in:
@ -1535,12 +1535,11 @@ void CMapLoaderH3M::readCreatureSet(CCreatureSet * out, int number)
|
||||
|
||||
CGObjectInstance * CMapLoaderH3M::readHero(ObjectInstanceID idToBeGiven)
|
||||
{
|
||||
auto nhi = new CGHeroInstance();
|
||||
auto nhi = new CGHeroInstance();
|
||||
|
||||
int identifier = 0;
|
||||
if(map->version > EMapFormat::ROE)
|
||||
{
|
||||
identifier = reader.readUInt32();
|
||||
unsigned int identifier = reader.readUInt32();
|
||||
map->questIdentifierToId[identifier] = idToBeGiven;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user