diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
commit | a6d18b282ab916c6536dc25516affeb9200043b6 (patch) | |
tree | 9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/gamemodifiers.cpp | |
parent | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff) | |
download | plus-s20181102.tar.gz plus-s20181102.tar.bz2 plus-s20181102.tar.xz plus-s20181102.zip |
Fix code style.s20181102
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp index 822678668..f3e9dbdd0 100644 --- a/src/gamemodifiers.cpp +++ b/src/gamemodifiers.cpp @@ -119,7 +119,7 @@ void GameModifiers::changeMode(unsigned *restrict const var, } else { - if (*var == 0u) + if (*var == 0U) *var = limit - 1; else (*var) --; @@ -502,7 +502,7 @@ void GameModifiers::resetModifiers() settings.mapDrawType = MapType::NORMAL; if (viewport != nullptr) { - if (settings.cameraMode != 0u) + if (settings.cameraMode != 0U) viewport->toggleCameraMode(); Map *const map = viewport->getMap(); if (map != nullptr) |