rnd-20061014-1-src
authorHolger Schemel <info@artsoft.org>
Sat, 14 Oct 2006 10:47:55 +0000 (12:47 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:53:18 +0000 (10:53 +0200)
* fixed bug that prevented player from correctly being created in the
  top left corner by a custom element change in a level without player

ChangeLog
src/conftime.h
src/game.c

index cef02a75face6f00f8723d7e9a6f2a50ea08b0e7..6ede103c568acee442a7941e62fb122a6efdd783 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-14
+       * fixed bug that prevented player from correctly being created in the
+         top left corner by a custom element change in a level without player
+
 2006-10-13
        * added page fading effects for remaining info sub-screens
        * fixed small bug that caused some delays when answering door request
index 58580f4d34e7ff4db86880470dfc73246ffa88cb..5481f44703a1943d5867dc986698068884eeff51 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2006-10-13 20:20]"
+#define COMPILE_DATE_STRING "[2006-10-14 12:10]"
index e868babeec2a4318e6b2bda52a740fb436e5c468..9ad7d0330d8a20add3851b06e7e9194ea6e5cf82 100644 (file)
@@ -1932,8 +1932,10 @@ void InitGame()
     player->drop_delay = 0;
     player->drop_pressed_delay = 0;
 
-    player->last_jx = player->last_jy = 0;
-    player->jx = player->jy = 0;
+    player->last_jx = -1;
+    player->last_jy = -1;
+    player->jx = -1;
+    player->jy = -1;
 
     player->shield_normal_time_left = 0;
     player->shield_deadly_time_left = 0;