summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-17 00:36:15 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-17 00:36:15 +0300
commit093e392dd84c920d26bca17d48ac6611393d087c (patch)
tree776845e14448e748f25dcfc92749ed1599b0ce31 /src/actionmanager.cpp
parentb30df9b843eae2128431320308510f13296e3e7f (diff)
downloadmanaverse-093e392dd84c920d26bca17d48ac6611393d087c.tar.gz
manaverse-093e392dd84c920d26bca17d48ac6611393d087c.tar.bz2
manaverse-093e392dd84c920d26bca17d48ac6611393d087c.tar.xz
manaverse-093e392dd84c920d26bca17d48ac6611393d087c.zip
Fix code style.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 45d0fd0ac..5fd5dbc76 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -78,8 +78,6 @@ extern QuitDialog *quitDialog;
namespace ActionManager
{
-void showHideWindow(Window *window);
-
impHandler0(moveUp)
{
if (NpcDialog *dialog = NpcDialog::getActive())
@@ -683,7 +681,7 @@ impHandler0(helpWindowShow)
return false;
}
-void showHideWindow(Window *window)
+static void showHideWindow(Window *window)
{
if (window)
{
@@ -1007,9 +1005,7 @@ impHandler0(targetAttack)
return false;
}
-bool setTarget(ActorSprite::Type type);
-
-bool setTarget(ActorSprite::Type type)
+static bool setTarget(ActorSprite::Type type)
{
if (actorSpriteManager && player_node)
{