summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-07 00:58:46 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-07 00:58:46 (GMT)
commit46b2def1930b8a6741916b1b4dfebfed97f7e64d (patch)
tree2a23b13b5c5c81e0fb4b1ba3005baac77eb0f7e9 /src/game/GameView.cpp
parent51657b8575ce690ddc22b130861a7cf0211227db (diff)
downloadpowder-46b2def1930b8a6741916b1b4dfebfed97f7e64d.zip
powder-46b2def1930b8a6741916b1b4dfebfed97f7e64d.tar.gz
Save as current name complete, resolves #5
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 7d21f02..9bb1ee7 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -54,7 +54,7 @@ public:
{
if(leftDown)
DoLeftAction();
- if(rightDown)
+ else if(rightDown)
DoRightAction();
}
ui::Button::OnMouseUp(x, y, button);