summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
commit6419386c4c382753509425826ee609dd07d4ae72 (patch)
treef5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/being/localplayer.cpp
parent78744020528ef6231e1606bbe2e8c53011c77935 (diff)
downloadplus-6419386c4c382753509425826ee609dd07d4ae72.tar.gz
plus-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2
plus-6419386c4c382753509425826ee609dd07d4ae72.tar.xz
plus-6419386c4c382753509425826ee609dd07d4ae72.zip
add const to other files.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 4d42bc717..04bb2603a 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1978,7 +1978,7 @@ void LocalPlayer::changeAttackWeaponType()
&LocalPlayer::getAttackWeaponTypeString, 1);
}
-static const char *attackWeaponTypeStrings[] =
+static const char *const attackWeaponTypeStrings[] =
{
// TRANSLATORS: switch attack type in status bar
N_("(?) attack"),
@@ -2238,7 +2238,7 @@ void LocalPlayer::changeAwayMode()
}
}
-static const char *awayModeStrings[] =
+static const char *const awayModeStrings[] =
{
// TRANSLATORS: away type in status bar
N_("(O) on keyboard"),