summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/being/localplayer.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index d344926fa..ce0ab1e27 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -238,7 +238,7 @@ LocalPlayer::~LocalPlayer()
soundManager.volumeRestore();
delete2(mAwayDialog)
}
- delete2(mAwayListener);
+ delete2(mAwayListener)
}
void LocalPlayer::logic()
@@ -404,7 +404,7 @@ void LocalPlayer::setAction(const BeingActionT &action,
{
// TRANSLATORS: chat message after death
debugMsg(strprintf(_("You were killed by %s."),
- mLastHitFrom.c_str()));
+ mLastHitFrom.c_str()))
mLastHitFrom.clear();
}
setTarget(nullptr);
@@ -2340,12 +2340,12 @@ void LocalPlayer::setFollow(const std::string &player)
{
// TRANSLATORS: follow command message
std::string msg = strprintf(_("Follow: %s"), player.c_str());
- debugMsg(msg);
+ debugMsg(msg)
}
else
{
// TRANSLATORS: follow command message
- debugMsg(_("Follow canceled"));
+ debugMsg(_("Follow canceled"))
}
}
@@ -2356,12 +2356,12 @@ void LocalPlayer::setImitate(const std::string &player)
{
// TRANSLATORS: imitate command message
std::string msg = strprintf(_("Imitation: %s"), player.c_str());
- debugMsg(msg);
+ debugMsg(msg)
}
else
{
// TRANSLATORS: imitate command message
- debugMsg(_("Imitation canceled"));
+ debugMsg(_("Imitation canceled"))
}
}
@@ -2370,12 +2370,12 @@ void LocalPlayer::cancelFollow()
if (!mPlayerFollowed.empty())
{
// TRANSLATORS: cancel follow message
- debugMsg(_("Follow canceled"));
+ debugMsg(_("Follow canceled"))
}
if (!mPlayerImitated.empty())
{
// TRANSLATORS: cancel follow message
- debugMsg(_("Imitation canceled"));
+ debugMsg(_("Imitation canceled"))
}
mPlayerFollowed.clear();
mPlayerImitated.clear();
@@ -2733,7 +2733,7 @@ void LocalPlayer::checkNewName(Being *const being)
if (!mWaitFor.empty() && mWaitFor == nick)
{
// TRANSLATORS: wait player/monster message
- debugMsg(strprintf(_("You see %s"), mWaitFor.c_str()));
+ debugMsg(strprintf(_("You see %s"), mWaitFor.c_str()))
soundManager.playGuiSound(SOUND_INFO);
mWaitFor.clear();
}