projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added README that might be useful for some, added svn:ignore stuff
[supertux.git]
/
src
/
trigger
/
sequence_trigger.cpp
diff --git
a/src/trigger/sequence_trigger.cpp
b/src/trigger/sequence_trigger.cpp
index
0f66a83
..
5a94419
100644
(file)
--- a/
src/trigger/sequence_trigger.cpp
+++ b/
src/trigger/sequence_trigger.cpp
@@
-65,10
+65,10
@@
SequenceTrigger::write(lisp::Writer& writer)
}
void
-SequenceTrigger::event(Player& , EventType type)
+SequenceTrigger::event(Player&
player
, EventType type)
{
if(type == triggerevent) {
-
GameSession::current()->start
_sequence(sequence_name);
+
player.trigger
_sequence(sequence_name);
}
}