home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed some more pitfalls that hurt working with game maps of maximum size.
[plomrogue]
/
src
/
client
/
io.c
diff --git
a/src/client/io.c
b/src/client/io.c
index 43a695ab02b90f43356ea9712436f42c11eaa31d..a4dc7f321b6e764714fc52410f0c32f51fc68d37 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
8
_t y, x;
+ uint
16
_t y, x;
for (y = 0; y < world.map.size.y; y++)
{
for (x = 0; x < world.map.size.x; x++)