From 255deaced0943469a0e931eb826034c98cefd63b Mon Sep 17 00:00:00 2001 From: Anselme Date: Mon, 14 Mar 2016 00:22:57 +0100 Subject: [PATCH] fixed heisenbug --- src/input.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input.cpp b/src/input.cpp index 4ad9e2e..3977441 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -8,7 +8,9 @@ #include #include -Input::Input(sf::Window *w): window(w) +Input::Input(sf::Window *w) : + window(w), + closeRequested(false) { heldkeys = std::vector(); action_file = std::queue();