projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ice yeti animation updates
[supertux.git]
/
src
/
scripting
/
functions.cpp
diff --git
a/src/scripting/functions.cpp
b/src/scripting/functions.cpp
index
2e51cad
..
f62ef92
100644
(file)
--- a/
src/scripting/functions.cpp
+++ b/
src/scripting/functions.cpp
@@
-47,5
+47,10
@@
void import(HSQUIRRELVM v, const std::string& filename)
}
}
+void add_key(int new_key)
+{
+ player_status->set_keys(new_key);
+}
+
}