From b57c069d166b1a326b7581621136640feb81f05c Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Mon, 11 Aug 2014 08:05:56 +0200 Subject: [PATCH] Added missing include to trigger/door.cpp, fixes 0000866 --- src/trigger/door.cpp | 5 ++++- src/trigger/door.hpp | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/trigger/door.cpp b/src/trigger/door.cpp index 85bf378fe..3ee067cb9 100644 --- a/src/trigger/door.cpp +++ b/src/trigger/door.cpp @@ -14,13 +14,16 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#include "trigger/door.hpp" + +#include + #include "audio/sound_manager.hpp" #include "object/player.hpp" #include "sprite/sprite_manager.hpp" #include "supertux/game_session.hpp" #include "supertux/object_factory.hpp" #include "supertux/sector.hpp" -#include "trigger/door.hpp" #include "util/reader.hpp" Door::Door(const Reader& reader) : diff --git a/src/trigger/door.hpp b/src/trigger/door.hpp index 0fefb7e07..6be119bc1 100644 --- a/src/trigger/door.hpp +++ b/src/trigger/door.hpp @@ -18,6 +18,7 @@ #define HEADER_SUPERTUX_TRIGGER_DOOR_HPP #include "sprite/sprite.hpp" +#include "supertux/timer.hpp" #include "trigger/trigger_base.hpp" class Player; -- 2.11.0