projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f645e74
)
minor whitespace change
author
Holger Schemel
<info@artsoft.org>
Thu, 23 Apr 2020 09:42:45 +0000
(11:42 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 19 May 2020 16:21:19 +0000
(18:21 +0200)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 6024f1f8ea8788d368185a0536f8ea13d4f7baf0..d34f3fe30b298172ced69349277af3bff81e7845 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-6792,8
+6792,8
@@
static int SaveLevel_BODY(FILE *file, struct LevelInfo *level)
int chunk_size = 0;
int x, y;
- for (y = 0; y < level->fieldy; y++)
- for (x = 0; x < level->fieldx; x++)
+ for (y = 0; y < level->fieldy; y++)
+ for (x = 0; x < level->fieldx; x++)
if (level->encoding_16bit_field)
chunk_size += putFile16BitBE(file, level->field[x][y]);
else