mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9462] Compile fix under GCC.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
c179c45087
commit
a421990a5b
2 changed files with 11 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue