Merge commit 'origin/master' into 320

Conflicts:
	sql/updates/8098_01_characters_character_action.sql
	sql/updates/8098_02_mangos_playercreateinfo_action.sql
	src/game/Player.cpp
	src/game/Player.h
	src/game/SpellEffects.cpp
	src/shared/revision_nr.h
This commit is contained in:
tomrus88 2009-07-02 09:38:10 +04:00
commit 62327e7af0
4 changed files with 4 additions and 6 deletions

View file

@ -4,7 +4,7 @@ ALTER TABLE character_action
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
UPDATE character_action
SET action = action | ( misc < 16 );
SET action = action | ( misc << 16 );
ALTER TABLE character_action
DROP COLUMN misc;

View file

@ -4,7 +4,7 @@ ALTER TABLE playercreateinfo_action
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
UPDATE playercreateinfo_action
SET action = action | ( misc < 16 );
SET action = action | ( misc << 16 );
ALTER TABLE playercreateinfo_action
DROP COLUMN misc;

View file

@ -5564,7 +5564,6 @@ ActionButton* Player::addActionButton(uint8 button, uint32 action, uint8 type)
// set data and update to CHANGED if not NEW
ab.SetActionAndType(action,ActionButtonType(type));
}
sLog.outDetail( "Player '%u' Added Action '%u' (type %u) to Button '%u'", GetGUIDLow(), action, uint32(type), button );
return &ab;
@ -20482,4 +20481,3 @@ void Player::SendDuelCountdown(uint32 counter)
WorldPacket data(SMSG_DUEL_COUNTDOWN, 4);
data << uint32(counter); // seconds
GetSession()->SendPacket(&data);
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8106"
#define REVISION_NR "8107"
#endif // __REVISION_NR_H__