Skip to content

Commit

Permalink
[9462] Compile fix under GCC.
Browse files Browse the repository at this point in the history
Signed-off-by: ApoC <apoc@nymfe.net>
  • Loading branch information
apoc committed Feb 26, 2010
1 parent f76aba6 commit 1b9aa21
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/game/SpellEffects.cpp
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9461"
#define REVISION_NR "9462"
#endif // __REVISION_NR_H__

1 comment on commit 1b9aa21

@morphau
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ;) ^^

Please sign in to comment.