projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a516ac2
)
fixed bug in editor when using undo after rotating level repeatedly
author
Holger Schemel
<info@artsoft.org>
Tue, 10 Feb 2015 22:16:07 +0000
(23:16 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 10 Feb 2015 22:16:07 +0000
(23:16 +0100)
ChangeLog
patch
|
blob
|
history
src/editor.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index f924f2068b7ec2fe3c76bf4507e5debcda76f543..3df085a363218a2a3d7b2fe0abd1a157131003b3 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,6
+1,7
@@
2015-02-10
* changed position of CE/GE use/save template gadgets to be visually
separated from other CE/GE gadgets (to prevent accidental use)
2015-02-10
* changed position of CE/GE use/save template gadgets to be visually
separated from other CE/GE gadgets (to prevent accidental use)
+ * fixed bug in editor when using undo after rotating level repeatedly
2015-02-04
* added configurability of editor control buttons (toolbox buttons)
2015-02-04
* added configurability of editor control buttons (toolbox buttons)
diff --git
a/src/editor.c
b/src/editor.c
index a16c902fe5d7a4df249739cfcbc244504d07435d..725badd7b65cc5443a6d5317aea742f29604c3b7 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-10477,6
+10477,9
@@
static void CopyLevelToUndoBuffer(int mode)
boolean new_undo_buffer_position = TRUE;
int x, y;
boolean new_undo_buffer_position = TRUE;
int x, y;
+ if (undo_buffer_steps == 0)
+ accumulated_undo = FALSE;
+
switch (mode)
{
case UNDO_IMMEDIATE:
switch (mode)
{
case UNDO_IMMEDIATE: