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=2b55f8c2e756cabd9ab35324936566e5b9541305;p=supertux.git Fix for -Werror SVN-Revision: 6678 --- 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