projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11d799
)
finally fixed small door request bug in level editor
author
Holger Schemel
<info@artsoft.org>
Wed, 8 Oct 2014 09:42:01 +0000
(11:42 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 8 Oct 2014 09:42:01 +0000
(11:42 +0200)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index a66e960433248d0b2f10db377a84a6d4adc4c139..e8bc4e2082506f97c110c19c1ef37fa74081eea5 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-11869,7
+11869,10
@@
void RequestExitLevelEditor(boolean ask_if_level_has_changed,
}
else
{
- CloseDoor(DOOR_CLOSE_1);
- OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK);
+ if (!global.use_envelope_request)
+ {
+ CloseDoor(DOOR_CLOSE_1);
+ OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK);
+ }
}
}