projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20100309-1-src
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 278704e6763f9924142f2a6cc4c74c00f055773a..2d9cbfcd159329dc24e59bf3e26092de59765c00 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-577,6
+577,11
@@
static void HandleKeysSpecial(Key key)
{
DumpTape(&tape);
}
+ else if (is_string_suffix(cheat_input, ":save-native-level") ||
+ is_string_suffix(cheat_input, ":snl"))
+ {
+ SaveNativeLevel(&level);
+ }
}
else if (game_status == GAME_MODE_PLAYING)
{