projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include optimizations
[supertux.git]
/
src
/
trigger
/
scripttrigger.cpp
diff --git
a/src/trigger/scripttrigger.cpp
b/src/trigger/scripttrigger.cpp
index
29700e2
..
50aa75f
100644
(file)
--- a/
src/trigger/scripttrigger.cpp
+++ b/
src/trigger/scripttrigger.cpp
@@
-23,7
+23,9
@@
#include "trigger/scripttrigger.hpp"
#include "util/reader.hpp"
#include "trigger/scripttrigger.hpp"
#include "util/reader.hpp"
-ScriptTrigger::ScriptTrigger(const Reader& reader)
+ScriptTrigger::ScriptTrigger(const Reader& reader) :
+ triggerevent(),
+ script()
{
bool must_activate = false;
{
bool must_activate = false;
@@
-45,7
+47,9
@@
ScriptTrigger::ScriptTrigger(const Reader& reader)
triggerevent = EVENT_TOUCH;
}
triggerevent = EVENT_TOUCH;
}
-ScriptTrigger::ScriptTrigger(const Vector& pos, const std::string& script)
+ScriptTrigger::ScriptTrigger(const Vector& pos, const std::string& script) :
+ triggerevent(),
+ script()
{
bbox.set_pos(pos);
bbox.set_size(32, 32);
{
bbox.set_pos(pos);
bbox.set_size(32, 32);