From: mathnerd314 Date: Mon, 7 Mar 2011 02:01:22 +0000 (+0000) Subject: Fix for -Werror X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2539deaefc9bee0ecb202ffabf5044ee0b14a9db;p=supertux.git Fix for -Werror git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6678 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/trigger/secretarea_trigger.cpp b/src/trigger/secretarea_trigger.cpp index 097c5e77e..56e85a16e 100644 --- a/src/trigger/secretarea_trigger.cpp +++ b/src/trigger/secretarea_trigger.cpp @@ -52,6 +52,7 @@ SecretAreaTrigger::SecretAreaTrigger(const Reader& reader) : SecretAreaTrigger::SecretAreaTrigger(const Rectf& area, std::string fade_tilemap) : message_timer(), message_displayed(), + message(_("You found a secret area!")), fade_tilemap(fade_tilemap) { bbox = area; diff --git a/src/trigger/secretarea_trigger.hpp b/src/trigger/secretarea_trigger.hpp index 8a17f229d..2b0e10579 100644 --- a/src/trigger/secretarea_trigger.hpp +++ b/src/trigger/secretarea_trigger.hpp @@ -40,8 +40,8 @@ public: private: Timer message_timer; bool message_displayed; - std::string fade_tilemap; /**< tilemap to fade away when trigger is activated, or empty if you don't care */ std::string message; /**< message to display, default "You found a secret area!" */ + std::string fade_tilemap; /**< tilemap to fade away when trigger is activated, or empty if you don't care */ }; #endif