projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed updating tape display after loading engine snapshot
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 63eb94115bb5224ca532217187b45d973b69041a..f35e89db2dc428c5807c659b7f1613dfca125bf6 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-14610,10
+14610,6
@@
ListNode *SaveEngineSnapshotBuffers()
{
ListNode *buffers = NULL;
{
ListNode *buffers = NULL;
- /* do not save snapshots from editor */
- if (level_editor_test_game)
- return NULL;
-
/* copy some special values to a structure better suited for the snapshot */
if (level.game_engine_type == GAME_ENGINE_TYPE_RND)
/* copy some special values to a structure better suited for the snapshot */
if (level.game_engine_type == GAME_ENGINE_TYPE_RND)
@@
-14975,6
+14971,7
@@
void GameUndoRedoExt()
RedrawPlayfield();
UpdateAndDisplayGameControlValues();
RedrawPlayfield();
UpdateAndDisplayGameControlValues();
+ DrawCompleteVideoDisplay();
DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime);
DrawVideoDisplay(VIDEO_STATE_FRAME_ON, FrameCounter);
DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime);
DrawVideoDisplay(VIDEO_STATE_FRAME_ON, FrameCounter);