mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-27 00:41:08 +02:00
Fixes for multiple new issues from Sonar
This commit is contained in:
AI
BattleAI
Nullkiller
Analyzers
Behaviors
Engine
Pathfinding
VCAI
client
adventureMap
battle
render
renderSDL
windows
launcher/modManager
lib
CCreatureHandler.cppCCreatureSet.cppCCreatureSet.h
battle
constants
entities
faction
mapObjects
mapping
network
networkPacks
pathfinder
rmg
mapeditor/inspector
armywidget.cppheroskillswidget.cppherospellwidget.cppinspector.cppportraitwidget.cppquestwidget.cpptownbuildingswidget.cpp
server
@ -124,10 +124,10 @@ CMapHeader::CMapHeader()
|
||||
, twoLevel(true)
|
||||
, difficulty(EMapDifficulty::NORMAL)
|
||||
, levelLimit(0)
|
||||
, howManyTeams(0)
|
||||
, areAnyPlayers(false)
|
||||
, victoryIconIndex(0)
|
||||
, defeatIconIndex(0)
|
||||
, howManyTeams(0)
|
||||
, areAnyPlayers(false)
|
||||
{
|
||||
setupEvents();
|
||||
allowedHeroes = VLC->heroh->getDefaultAllowed();
|
||||
|
Reference in New Issue
Block a user