aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level1.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 23:25:02 +0200
committerSpp <none@none>2010-04-07 23:25:02 +0200
commit2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (patch)
treeb744629b9fc3004bcb717c5f95a10724df3a6a62 /src/game/Level1.cpp
parent49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (diff)
Code Style (game + scripts only):
"==" --> " == " (when needed) --HG-- branch : trunk
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r--src/game/Level1.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp
index 95c005feb5d..5f8198e5a87 100644
--- a/src/game/Level1.cpp
+++ b/src/game/Level1.cpp
@@ -2254,7 +2254,7 @@ bool ChatHandler::HandleLookupAreaCommand(const char* args)
loc = 0;
for (; loc < MAX_LOCALE; ++loc)
{
- if (loc==GetSessionDbcLocale ())
+ if (loc == GetSessionDbcLocale ())
continue;
name = areaEntry->area_name[loc];
@@ -2460,7 +2460,7 @@ bool ChatHandler::HandleTeleNameCommand(const char * args)
std::string chrNameLink = playerLink(target_name);
- if (target->IsBeingTeleported()==true)
+ if (target->IsBeingTeleported() == true)
{
PSendSysMessage(LANG_IS_TELEPORTED, chrNameLink.c_str());
SetSentErrorMessage(true);
@@ -2623,7 +2623,7 @@ bool ChatHandler::HandleGroupgoCommand(const char* args)
{
Player *pl = itr->getSource();
- if (!pl || pl==m_session->GetPlayer() || !pl->GetSession())
+ if (!pl || pl == m_session->GetPlayer() || !pl->GetSession())
continue;
// check online security
@@ -2632,7 +2632,7 @@ bool ChatHandler::HandleGroupgoCommand(const char* args)
std::string plNameLink = GetNameLink(pl);
- if (pl->IsBeingTeleported()==true)
+ if (pl->IsBeingTeleported() == true)
{
PSendSysMessage(LANG_IS_TELEPORTED, plNameLink.c_str());
SetSentErrorMessage(true);
@@ -2835,7 +2835,7 @@ bool ChatHandler::HandleGoZoneXYCommand(const char* args)
float y = (float)atof(py);
// prevent accept wrong numeric args
- if ((x==0.0f && *px!='0') || (y==0.0f && *py!='0'))
+ if ((x == 0.0f && *px!='0') || (y == 0.0f && *py!='0'))
return false;
uint32 areaid = cAreaId ? (uint32)atoi(cAreaId) : _player->GetZoneId();