X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=ca820886f380c18d9ca65fc5dfb8a8df0e709d5c;hb=ff45a13c41aeeb995cb556c3f3b7f7be477fc214;hp=d206859a5f6b0f962faf723a636cc8ed20c3d885;hpb=7eb9afbda870a52bfef66b5d1750696a6add61c4;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index d206859a..ca820886 100644 --- a/src/init.c +++ b/src/init.c @@ -102,6 +102,11 @@ void DrawInitAnim() if (!DelayReached(&action_delay, action_delay_value)) return; + if (init_last.busy.x == -1) + init_last.busy.x = WIN_XSIZE / 2; + if (init_last.busy.y == -1) + init_last.busy.y = WIN_YSIZE / 2; + x = ALIGNED_TEXT_XPOS(&init_last.busy); y = ALIGNED_TEXT_YPOS(&init_last.busy); @@ -1071,11 +1076,9 @@ static void set_graphic_parameters_ext(int graphic, int *parameter, g->tile_size = TILESIZE; /* standard tile size */ #endif -#if 0 - // CHECK: when setting tile size, should this set width and height? + // when setting tile size, also set width and height accordingly g->width = g->tile_size; g->height = g->tile_size; -#endif } if (g->use_image_size)