diff options
| author | Spp <none@none> | 2010-04-08 08:20:08 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-04-08 08:20:08 +0200 |
| commit | 4635fbc0201846721287a1eb730491262237babd (patch) | |
| tree | 5b02b41f0099fd9d3af7f3a826ef0ca6dfe80748 /src/game/ItemHandler.cpp | |
| parent | 46f0674e237dd8fe97ba4f0769e18b4adfce841b (diff) | |
Code Style (game + scripts only):
"!=" --> " != " (when needed)
" !=" --> " !="
"!= " --> "!= "
--HG--
branch : trunk
Diffstat (limited to 'src/game/ItemHandler.cpp')
| -rw-r--r-- | src/game/ItemHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ItemHandler.cpp b/src/game/ItemHandler.cpp index 2d940bfbaf8..c3ca61c123c 100644 --- a/src/game/ItemHandler.cpp +++ b/src/game/ItemHandler.cpp @@ -515,7 +515,7 @@ void WorldSession::HandleSellItemOpcode(WorldPacket & recv_data) if (pItem) { // prevent sell not owner item - if (_player->GetGUID()!=pItem->GetOwnerGUID()) + if (_player->GetGUID() != pItem->GetOwnerGUID()) { _player->SendSellError(SELL_ERR_CANT_SELL_ITEM, pCreature, itemguid, 0); return; @@ -1172,7 +1172,7 @@ void WorldSession::HandleSocketOpcode(WorldPacket& recv_data) return; // not first not-colored (not normaly used) socket - if (i!=0 && !itemProto->Socket[i-1].Color && (i+1 >= MAX_GEM_SOCKETS || itemProto->Socket[i+1].Color)) + if (i != 0 && !itemProto->Socket[i-1].Color && (i+1 >= MAX_GEM_SOCKETS || itemProto->Socket[i+1].Color)) return; // ok, this is first not colored socket for item with prismatic socket |
