mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 13:22:17 +00:00
Crash handler: don't hang on a corrupted heap; fix guild tribute names (#5130)
This commit is contained in:
1 parent
c9c8747ac9
commit
a572b03f56
9 files changed
+33
-10
No files matched your search
@@ -1199,7 +1199,12 @@ bool Client::TradeskillExecute(DBTradeskillRecipe_Struct *spec) {
|
||||
if(over_trivial < 0)
|
||||
CheckIncreaseTradeskill(bonusstat, stat_modifier, skillup_modifier, success_modifier, spec->tradeskill);
|
||||
|
||||
MessageString(Chat::Emote,TRADESKILL_FAILED);
|
||||
// ToB's text names the recipe (%1); the argument overload sends Emote as type 4, so older clients keep the plain one
|
||||
if (ClientVersion() >= EQ::versions::ClientVersion::TOB) {
|
||||
MessageString(Chat::Emote, TRADESKILL_FAILED, spec->name.c_str());
|
||||
} else {
|
||||
MessageString(Chat::Emote, TRADESKILL_FAILED);
|
||||
}
|
||||
|
||||
LogTradeskills("Tradeskill failed");
|
||||
if (GetGroup())
|
||||
|
||||
Reference in new issue
Block a user