Scripts/Commands: Fixed build with -DSCRIPTS=0

This commit is contained in:
Shauren committed 2014-09-14 16:54:21 +02:00
1 parent a0e50ea35f
commit 2a1a294383
21 files changed
+85 -85

No files matched your search

+2 -2
View File
@@ -239,7 +239,7 @@ public:
return false;
SellResult msg = SellResult(atoi(args));
handler->GetSession()->GetPlayer()->SendSellError(msg, 0, 0, 0);
handler->GetSession()->GetPlayer()->SendSellError(msg, nullptr, ObjectGuid::Empty, 0);
return true;
}
@@ -249,7 +249,7 @@ public:
return false;
BuyResult msg = BuyResult(atoi(args));
handler->GetSession()->GetPlayer()->SendBuyError(msg, 0, 0, 0);
handler->GetSession()->GetPlayer()->SendBuyError(msg, nullptr, 0, 0);
return true;
}