summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
commita6d18b282ab916c6536dc25516affeb9200043b6 (patch)
tree9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/game.cpp
parent98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff)
downloadmv-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz
mv-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2
mv-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz
mv-a6d18b282ab916c6536dc25516affeb9200043b6.zip
Fix code style.s20181102
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index eadfda7f6..dec8874cf 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1006,7 +1006,7 @@ void Game::moveInDirection(const unsigned char direction)
if (viewport == nullptr)
return;
- if (settings.cameraMode == 0u)
+ if (settings.cameraMode == 0U)
{
if (localPlayer != nullptr)
localPlayer->specialMove(direction);
@@ -1190,7 +1190,7 @@ void Game::changeMap(const std::string &mapPath)
void Game::updateHistory(const SDL_Event &event)
{
- if ((localPlayer == nullptr) || (settings.attackType == 0u))
+ if ((localPlayer == nullptr) || (settings.attackType == 0U))
return;
if (CAST_S32(event.key.keysym.sym) != -1)
@@ -1250,7 +1250,7 @@ void Game::checkKeys()
const int timeRange = 120;
const int cntInTime = 130;
- if ((localPlayer == nullptr) || (settings.attackType == 0u))
+ if ((localPlayer == nullptr) || (settings.attackType == 0U))
return;
const time_t time = cur_time;