summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-16 03:19:47 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-16 03:19:47 +0300
commit2af5e3f72aef14b5b541b7c47878e0a13a343b85 (patch)
tree2321c64133686081c18ea738c5c2131d0e02951f /src/localplayer.cpp
parent6ac937583f9589e7049f2eb51eca62f2249ba7d6 (diff)
downloadmv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.gz
mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.bz2
mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.xz
mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.zip
Fix code style.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 8105f3291..e17cf09c4 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -350,11 +350,8 @@ void LocalPlayer::logic()
if (mEnableAdvert && !mBlockAdvert && mAdvertTime < cur_time)
{
Uint8 smile = FLAG_SPECIAL;
- if (mTradebot && shopWindow && shopWindow
- && !shopWindow->isShopEmpty())
- {
+ if (mTradebot && shopWindow && !shopWindow->isShopEmpty())
smile += FLAG_SHOP;
- }
if (mAwayMode)
smile += FLAG_AWAY;