diff options
author | Machiavelli <none@none> | 2010-03-09 22:07:43 +0100 |
---|---|---|
committer | Machiavelli <none@none> | 2010-03-09 22:07:43 +0100 |
commit | cf0a646cc090871b4e21a501c12c96673c755133 (patch) | |
tree | 6e43431db49985b11f88351b9ef851133076340c /src | |
parent | 9df357f5d99a8204b866b1148b433734642cf47b (diff) |
Fix removal of action buttons by removing some redundant code.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c1accd063df..0426fac4066 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16110,11 +16110,7 @@ void Player::_LoadActions(QueryResult_AutoPtr result, bool startup) uint8 type = fields[2].GetUInt8(); if(ActionButton* ab = addActionButton(button, action, type)) - { ab->uState = ACTIONBUTTON_UNCHANGED; - if(!startup) // Switching specs - ab->canRemoveByClient = false; - } else { sLog.outError( " ...at loading, and will deleted in DB also"); |