summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/actions
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/progs/manaplus/actions
parent98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff)
downloadmanaverse-s20181102.tar.gz
manaverse-s20181102.tar.bz2
manaverse-s20181102.tar.xz
manaverse-s20181102.zip
Fix code style.s20181102
Diffstat (limited to 'src/progs/manaplus/actions')
-rw-r--r--src/progs/manaplus/actions/actions.cpp2
-rw-r--r--src/progs/manaplus/actions/statusbar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 9c0188d20..322599791 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -938,7 +938,7 @@ impHandler(targetAttack)
}
}
- if ((target == nullptr) && (settings.targetingType == 0u))
+ if ((target == nullptr) && (settings.targetingType == 0U))
target = localPlayer->getTarget();
if (target == nullptr)
diff --git a/src/progs/manaplus/actions/statusbar.cpp b/src/progs/manaplus/actions/statusbar.cpp
index 90a3f74d8..e15694902 100644
--- a/src/progs/manaplus/actions/statusbar.cpp
+++ b/src/progs/manaplus/actions/statusbar.cpp
@@ -172,7 +172,7 @@ impHandler0(changeMapMode)
impHandler0(changeTrade)
{
unsigned int deflt = playerRelations.getDefault();
- if ((deflt & PlayerRelation::TRADE) != 0u)
+ if ((deflt & PlayerRelation::TRADE) != 0U)
{
if (localChatTab != nullptr)
{