projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed missing initialization when loading envelope level chunks
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index e895519fb1c24e04dc1b3eb051debd5f87081a9d..028e9f4ef91da6b372e5b9547d6f4d822c436c38 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-1949,7
+1949,7
@@
static void InitField(int x, int y, boolean init_game)
CheckTriggeredElementChange(x, y, element, CE_CREATION_OF_X);
}
CheckTriggeredElementChange(x, y, element, CE_CREATION_OF_X);
}
-
static inline
void InitField_WithBug1(int x, int y, boolean init_game)
+
inline static
void InitField_WithBug1(int x, int y, boolean init_game)
{
InitField(x, y, init_game);
{
InitField(x, y, init_game);
@@
-1959,7
+1959,7
@@
static inline void InitField_WithBug1(int x, int y, boolean init_game)
InitMovDir(x, y);
}
InitMovDir(x, y);
}
-
static inline
void InitField_WithBug2(int x, int y, boolean init_game)
+
inline static
void InitField_WithBug2(int x, int y, boolean init_game)
{
int old_element = Feld[x][y];
{
int old_element = Feld[x][y];
@@
-3112,6
+3112,8
@@
void InitGame()
FadeOut(fade_mask);
FadeOut(fade_mask);
+ OpenDoor(GetDoorState() | DOOR_NO_DELAY | DOOR_FORCE_REDRAW);
+
ClearField();
DrawCompleteVideoDisplay();
ClearField();
DrawCompleteVideoDisplay();
@@
-4973,7
+4975,7
@@
void DrawRelocateScreen(int old_x, int old_y, int x, int y, int move_dir,
}
}
}
}
- RedrawPlayfield(
TRUE, 0,0,0,0
);
+ RedrawPlayfield();
}
else
{
}
else
{