Core&Tools: Fix multiple issues found by a static code coverage tool
This commit is contained in:
1 parent
a4fcbd1a36
commit
8eaf763235
10 files changed
+20
-17
No files matched your search
@@ -2230,8 +2230,6 @@ TempSummon* Map::SummonCreature(uint32 entry, Position const& pos, SummonPropert
|
||||
case UNIT_MASK_MINION:
|
||||
summon = new Minion(properties, summoner, false);
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!summon->Create(sObjectMgr->GenerateLowGuid(HIGHGUID_UNIT), this, phase, entry, vehId, team, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation()))
|
||||
|
||||
Reference in new issue
Block a user