projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bugs when using element graphics with non-standard tile size
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 3a2ccca2a197faf55d116d37b1dcff09bd548ce3..ca820886f380c18d9ca65fc5dfb8a8df0e709d5c 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-1076,11
+1076,9
@@
static void set_graphic_parameters_ext(int graphic, int *parameter,
g->tile_size = TILESIZE; /* standard tile size */
#endif
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;
g->width = g->tile_size;
g->height = g->tile_size;
-#endif
}
if (g->use_image_size)
}
if (g->use_image_size)