projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e6e95
)
added redrawing laser when auto-rotating mirrors in MM engine
author
Holger Schemel
<info@artsoft.org>
Fri, 7 Apr 2023 08:23:43 +0000
(10:23 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 7 Apr 2023 08:23:43 +0000
(10:23 +0200)
src/game_mm/mm_game.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index 09c693c8ca75280e1428ccee923b7aa0bed4fe70..c4c9e2a86075bbe3b81969e632706138c6aaa1e5 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-3276,7
+3276,11
@@
static void AutoRotateMirrors(void)
IS_GRID_WOOD_AUTO(element) ||
IS_GRID_STEEL_AUTO(element) ||
element == EL_REFRACTOR)
+ {
RotateMirror(x, y, MB_RIGHTBUTTON);
+
+ laser.redraw = TRUE;
+ }
}
}
}