diff options
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) |