projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
856b08c
)
When Esc was pressed the menu was not being shown in leveleditor (fixed).
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 20 Apr 2004 18:51:22 +0000
(18:51 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 20 Apr 2004 18:51:22 +0000
(18:51 +0000)
SVN-Revision: 601
src/leveleditor.cpp
patch
|
blob
|
history
diff --git
a/src/leveleditor.cpp
b/src/leveleditor.cpp
index
acda848
..
bc521cf
100644
(file)
--- a/
src/leveleditor.cpp
+++ b/
src/leveleditor.cpp
@@
-815,6
+815,8
@@
void le_checkevents()
key = event.key.keysym.sym;
switch(key)
{
+ case SDLK_ESCAPE:
+ Menu::set_current(leveleditor_menu);
case SDLK_LEFT:
if(fire == DOWN)
cursor_x -= KEY_CURSOR_SPEED;