[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] = static uint32 const spellPlayer[5] =
{ {
{45674}, // Bigger! 45674, // Bigger!
{45675}, // Shrunk 45675, // Shrunk
{45678}, // Yellow 45678, // Yellow
{45682}, // Ghost 45682, // Ghost
{45684} // Polymorph 45684 // Polymorph
}; };
static uint32 const spellTarget[5] = static uint32 const spellTarget[5] =
{ {
{45673}, // Bigger! 45673, // Bigger!
{45672}, // Shrunk 45672, // Shrunk
{45677}, // Yellow 45677, // Yellow
{45681}, // Ghost 45681, // Ghost
{45683} // Polymorph 45683 // Polymorph
}; };
m_caster->CastSpell(m_caster, spellPlayer[urand(0,4)], true); m_caster->CastSpell(m_caster, spellPlayer[urand(0,4)], true);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9461" #define REVISION_NR "9462"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__