From: Holger Schemel Date: Sat, 14 Oct 2006 10:47:55 +0000 (+0200) Subject: rnd-20061014-1-src X-Git-Tag: 3.2.3^2~34 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=eb36b303b324ea691974f036677cdfb28b6f5385;p=rocksndiamonds.git rnd-20061014-1-src * fixed bug that prevented player from correctly being created in the top left corner by a custom element change in a level without player --- diff --git a/ChangeLog b/ChangeLog index cef02a75..6ede103c 100644 --- 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 diff --git a/src/conftime.h b/src/conftime.h index 58580f4d..5481f447 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2006-10-13 20:20]" +#define COMPILE_DATE_STRING "[2006-10-14 12:10]" diff --git a/src/game.c b/src/game.c index e868babe..9ad7d033 100644 --- a/src/game.c +++ b/src/game.c @@ -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;