aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Database/DBCfmt.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-06 18:14:05 -0600
committermegamage <none@none>2009-03-06 18:14:05 -0600
commitc2261e350231a9d2fb7699a27c8991aa76874b14 (patch)
treeb9613413c7104df7750252dcbadb509d98a0ffcb /src/shared/Database/DBCfmt.cpp
parent7915fd768a34604f6edf6be63bdf77fb2663d556 (diff)
[7391] Prevent achievement counter overflow, implement ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support.
Before overflow has been possible at 4294967295 lols for example. ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets. For this allow call it from scripts: * Add Player::UpdateAchievementCriteria functiona ccessable from scripts * In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr); Author: VladimirMangos --HG-- branch : trunk
Diffstat (limited to 'src/shared/Database/DBCfmt.cpp')
0 files changed, 0 insertions, 0 deletions