summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-09 01:49:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-09 01:49:40 +0300
commit5be3014e1b10619e43e04751dd825e245229403f (patch)
tree5c8bd55adbeb4db75b705c3b6c7f0cdc7aedacfd /src
parent09d473251c270a6c0f04262514cac8a0a4aeca1b (diff)
downloadplus-5be3014e1b10619e43e04751dd825e245229403f.tar.gz
plus-5be3014e1b10619e43e04751dd825e245229403f.tar.bz2
plus-5be3014e1b10619e43e04751dd825e245229403f.tar.xz
plus-5be3014e1b10619e43e04751dd825e245229403f.zip
Fix code style.
Diffstat (limited to 'src')
-rw-r--r--src/actions/chat.cpp2
-rw-r--r--src/resources/mapreader.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 266f610b8..9591ea00f 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -719,7 +719,7 @@ impHandler(translate)
return true;
}
-impHandler0(sendGuiKey)
+impHandler(sendGuiKey)
{
if (!guiInput)
return false;
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index e6e0dc912..6cba9b8f8 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -415,7 +415,8 @@ Map *MapReader::readMap(XmlNodePtrConst node, const std::string &path)
const int tileOffsetY = XML::getProperty(childNode, "y", 0);
const int offsetX = tileOffsetX * tilew;
const int offsetY = tileOffsetY * tileh;
- const bool showParticles = config.getBoolValue("mapparticleeffects");
+ const bool showParticles =
+ config.getBoolValue("mapparticleeffects");
for_each_xml_child_node(objectNode, childNode)
{