[9462] Compile fix under GCC.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2010-02-26 23:58:22 +01:00
parent c179c45087
commit a421990a5b
2 changed files with 11 additions and 11 deletions

View file

@ -5392,20 +5392,20 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
static uint32 const spellPlayer[5] =
{
{45674}, // Bigger!
{45675}, // Shrunk
{45678}, // Yellow
{45682}, // Ghost
{45684} // Polymorph
45674, // Bigger!
45675, // Shrunk
45678, // Yellow
45682, // Ghost
45684 // Polymorph
};
static uint32 const spellTarget[5] =
{
{45673}, // Bigger!
{45672}, // Shrunk
{45677}, // Yellow
{45681}, // Ghost
{45683} // Polymorph
45673, // Bigger!
45672, // Shrunk
45677, // Yellow
45681, // Ghost
45683 // Polymorph
};
m_caster->CastSpell(m_caster, spellPlayer[urand(0,4)], true);