diff options
| author | Nay <dnpd.dd@gmail.com> | 2012-08-13 14:46:37 +0100 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2012-08-13 14:46:37 +0100 |
| commit | f7fd5da96353f73c57ef295998fcdf9f7ca8dd41 (patch) | |
| tree | d04f7b23043af9c306db587f22c3ca4df0871128 /src/server/scripts/World | |
| parent | 8819f30a12e12075f3008aefe2ae61c5d99b49eb (diff) | |
Core: Fix a few compile errors with some "weird" compilers
Diffstat (limited to 'src/server/scripts/World')
| -rw-r--r-- | src/server/scripts/World/npcs_special.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp index 2d0198bfb0e..2830a050d42 100644 --- a/src/server/scripts/World/npcs_special.cpp +++ b/src/server/scripts/World/npcs_special.cpp @@ -1297,7 +1297,7 @@ public: case GOSSIP_OPTION_LEARNDUALSPEC: if (player->GetSpecsCount() == 1 && !(player->getLevel() < sWorld->getIntConfig(CONFIG_MIN_DUALSPEC_LEVEL))) { - if (!player->HasEnoughMoney(UI64LIT(10000000))) + if (!player->HasEnoughMoney(uint64(10000000))) { player->SendBuyError(BUY_ERR_NOT_ENOUGHT_MONEY, 0, 0, 0); player->PlayerTalkClass->SendCloseGossip(); @@ -1305,7 +1305,7 @@ public: } else { - player->ModifyMoney(SI64LIT(-10000000)); + player->ModifyMoney(int64(-10000000)); // Cast spells that teach dual spec // Both are also ImplicitTarget self and must be cast by player |
