aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaelima <jeppo_meyer@msn.com>2011-06-11 19:20:49 +0200
committerkaelima <jeppo_meyer@msn.com>2011-06-11 19:20:49 +0200
commit9ef8bd307200445f448a67d1bb26c3afee9b7051 (patch)
treedbb8601b4a626ce813070663c2c6a247e863fff3
parenta73c7f506ef0d125b5f5e7bad00de5c4e15f3ef2 (diff)
Core/Misc: Fix compile, revert part of a73c7f506ef0d125b5f5, these should actually be errors.
-rwxr-xr-xsrc/server/game/Entities/Player/Player.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
index caaf605e2e7..6215c043586 100755
--- a/src/server/game/Entities/Player/Player.cpp
+++ b/src/server/game/Entities/Player/Player.cpp
@@ -6622,13 +6622,13 @@ bool Player::IsActionButtonDataValid(uint8 button, uint32 action, uint8 type)
{
if (button >= MAX_ACTION_BUTTONS)
{
- sLog->outDebug("Action %u not added into button %u for player %s: button must be < %u", action, button, GetName(), MAX_ACTION_BUTTONS);
+ sLog->outError("Action %u not added into button %u for player %s: button must be < %u", action, button, GetName(), MAX_ACTION_BUTTONS);
return false;
}
if (action >= MAX_ACTION_BUTTON_ACTION_VALUE)
{
- sLog->outDebug("Action %u not added into button %u for player %s: action must be < %u", action, button, GetName(), MAX_ACTION_BUTTON_ACTION_VALUE);
+ sLog->outError("Action %u not added into button %u for player %s: action must be < %u", action, button, GetName(), MAX_ACTION_BUTTON_ACTION_VALUE);
return false;
}
@@ -6643,7 +6643,7 @@ bool Player::IsActionButtonDataValid(uint8 button, uint32 action, uint8 type)
if (!HasSpell(action))
{
- sLog->outDebug("Spell action %u not added into button %u for player %s: player don't known this spell", action, button, GetName());
+ sLog->outDebug(LOG_FILTER_PLAYER_LOADING, "Player::IsActionButtonDataValid Spell action %u not added into button %u for player %s: player don't known this spell", action, button, GetName());
return false;
}
break;