mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
*Fix a warning.
--HG-- branch : trunk
This commit is contained in:
@@ -112,7 +112,6 @@ struct TRINITY_DLL_DECL boss_salrammAI : public ScriptedAI
|
||||
if (Summon_ghouls_Timer < diff)
|
||||
{
|
||||
DoScriptText(RAND(SAY_SUMMON_GHOULS_1,SAY_SUMMON_GHOULS_2), m_creature);
|
||||
switch(rand()%2)
|
||||
if (Unit* random_target = SelectUnit(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(random_target,SPELL_SUMMON_GHOULS);
|
||||
Summon_ghouls_Timer = 10000;
|
||||
|
||||
@@ -307,7 +307,7 @@ struct TRINITY_DLL_DECL instance_ulduar : public ScriptedInstance
|
||||
|
||||
OUT_LOAD_INST_DATA(strIn);
|
||||
|
||||
char dataHead1, dataHead2;
|
||||
char dataHead1, dataHead2; // warning: uninitialized :(
|
||||
|
||||
std::istringstream loadStream(strIn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user