home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some code-internal restructuring following the assumption that game map height /
[plomrogue]
/
src
/
client
/
io.c
diff --git
a/src/client/io.c
b/src/client/io.c
index c86ff843e38d2b41917d3e3da3722ad79b987ff1..2b1c165eb0435c78a37737e94f5250d3361820c3 100644
(file)
--- a/
src/client/io.c
+++ b/
src/client/io.c
@@
-110,7
+110,7
@@
static void read_map_cells(FILE * file)
char * f_name = "read_map_cells()";
free(world.map.cells);
world.map.cells = try_malloc(world.map.size.y * world.map.size.x, f_name);
- uint
16
_t y, x;
+ uint
8
_t y, x;
for (y = 0; y < world.map.size.y; y++)
{
for (x = 0; x < world.map.size.x; x++)