From cf0a646cc090871b4e21a501c12c96673c755133 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Tue, 9 Mar 2010 22:07:43 +0100 Subject: Fix removal of action buttons by removing some redundant code. --HG-- branch : trunk --- src/game/Player.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3