projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Change ScriptInterpreter to a gameobject, so we can now have several script
[supertux.git]
/
src
/
game_session.cpp
diff --git
a/src/game_session.cpp
b/src/game_session.cpp
index
cec4a01
..
edf057f
100644
(file)
--- a/
src/game_session.cpp
+++ b/
src/game_session.cpp
@@
-636,6
+636,12
@@
GameSession::run()
}
void
+GameSession::finish()
+{
+ exit_status = ES_LEVEL_FINISHED;
+}
+
+void
GameSession::respawn(const std::string& sector, const std::string& spawnpoint)
{
newsector = sector;