summaryrefslogtreecommitdiff
path: root/src/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.cpp')
-rw-r--r--src/Game.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Game.cpp b/src/Game.cpp
index e08ab24..01bff24 100644
--- a/src/Game.cpp
+++ b/src/Game.cpp
@@ -189,5 +189,7 @@ void Game::input(){
}
}
- if(cmd == "f")
+ if(cmd == "f"){
+ flag[y][x] = true;
+ }
}