diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-12-29 19:53:06 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-12-29 19:53:06 +0100 |
commit | 8733cdf3ab6969613301138b05070a441a657b76 (patch) | |
tree | a8d64e2f7d03f32404841e843efda975b99997c1 /src/game-server/monster.cpp | |
parent | 5f03e73484a50c9689956b32ef97630b56d2a00d (diff) | |
download | manaserv-8733cdf3ab6969613301138b05070a441a657b76.tar.gz manaserv-8733cdf3ab6969613301138b05070a441a657b76.tar.bz2 manaserv-8733cdf3ab6969613301138b05070a441a657b76.tar.xz manaserv-8733cdf3ab6969613301138b05070a441a657b76.zip |
Moved parts needing to be in sync with the client in protocol.h.
Trivial fix.
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r-- | src/game-server/monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index 611fcea0..d78f04ba 100644 --- a/src/game-server/monster.cpp +++ b/src/game-server/monster.cpp @@ -224,7 +224,7 @@ void Monster::update() Being *bestAttackTarget = mTarget = NULL; int bestTargetPriority = 0; Point bestAttackPosition; - Direction bestAttackDirection = DIRECTION_DOWN; + BeingDirection bestAttackDirection = DIRECTION_DOWN; // Iterate through objects nearby int aroundArea = Configuration::getValue("game_visualRange", 448); |