diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-01 22:19:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-01 22:19:21 +0300 |
commit | 869c7fe8852248f03849c930c894d8fa218631b5 (patch) | |
tree | f86356b6565f68ebd8ba8f6b69ea3a6b5e87b251 /src/localplayer.cpp | |
parent | f659dfb18c130896f5c51fffca7fbe79f6eba502 (diff) | |
download | plus-869c7fe8852248f03849c930c894d8fa218631b5.tar.gz plus-869c7fe8852248f03849c930c894d8fa218631b5.tar.bz2 plus-869c7fe8852248f03849c930c894d8fa218631b5.tar.xz plus-869c7fe8852248f03849c930c894d8fa218631b5.zip |
Fix code style.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index a4104ce03..99ef5a242 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -3455,7 +3455,6 @@ void LocalPlayer::pingRequest() std::string LocalPlayer::getPingTime() const { - int time = 0; std::string str; if (!mWaitPing) { @@ -3466,7 +3465,7 @@ std::string LocalPlayer::getPingTime() const } else { - time = tick_time; + int time = tick_time; if (time > mPingSendTick) time -= mPingSendTick; else |