2014-10-20
* fixed using buttons on main screen with size other than 32x32 pixels
* fixed some initialization bugs for scrollbars and main screen buttons
+ * fixed bug when drawing non-element graphics (without separate in-game
+ graphic/bitmap defined) while non-standard game tile size is defined
2014-10-17
* removed some remaining unused X11 stuff
int src_y = g->src_y + (get_backside ? g->offset2_y : 0);
int tilesize_capped = MIN(MAX(1, tilesize), TILESIZE);
+ // if no in-game graphics defined, always use standard graphic size
+ if (g->bitmaps[IMG_BITMAP_GAME] == NULL)
+ tilesize = TILESIZE;
+
if (tilesize == gfx.standard_tile_size)
src_bitmap = g->bitmaps[IMG_BITMAP_STANDARD];
else if (tilesize == game.tile_size)