[9957] Alow sell item for money and extanded coset without momey in same time.
commitcd2bf296a1e2dec7b8262bf5f553dc4268833de6
authorVladimirMangos <vladimir@getmangos.com>
Sat, 22 May 2010 15:38:11 +0000 (22 19:38 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Sat, 22 May 2010 15:49:07 +0000 (22 19:49 +0400)
treea69609473adfe54f953644bac7b3f246a91356e0
parentca99760e884d82219fff63ecf5f2ca87b02b5924
[9957] Alow sell item for money and extanded coset without momey in same time.

npc_vendor.ExtandedCost can be negative now that meaning:
price excluded default item BuyPrice and use only abs(ExtandedCost) items).
For example expected used for item 36908.
13 files changed:
sql/mangos.sql
sql/updates/9957_01_mangos_mangos_string.sql [new file with mode: 0644]
sql/updates/9957_02_mangos_npc_vendor.sql [new file with mode: 0644]
sql/updates/Makefile.am
src/game/Creature.cpp
src/game/Creature.h
src/game/ItemHandler.cpp
src/game/Level2.cpp
src/game/ObjectMgr.cpp
src/game/ObjectMgr.h
src/game/Player.cpp
src/shared/revision_nr.h
src/shared/revision_sql.h