projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20050220-1-src
[rocksndiamonds.git]
/
src
/
game_em
/
convert.c
diff --git
a/src/game_em/convert.c
b/src/game_em/convert.c
index 8bcf586d98449bda6e45b4f00a8da257d0922f1a..dc5d78c6926caf01bd93469fa1221b7a42ceda8b 100644
(file)
--- a/
src/game_em/convert.c
+++ b/
src/game_em/convert.c
@@
-213,13
+213,13
@@
int cleanup_em_level(unsigned char *src, int length)
/* fix acid */
for (i = 64; i < 2048; i++)
{
/* fix acid */
for (i = 64; i < 2048; i++)
{
- if (src[i] == 63)
+ if (src[i] == 63)
/* 'Xacid_s' (acid pool, bottom middle) */
{
if (file_version == FILE_VERSION_EM_V4 &&
i < 2048 - 64 && src[i + 64] == 63)
{
if (file_version == FILE_VERSION_EM_V4 &&
i < 2048 - 64 && src[i + 64] == 63)
- src[i - 64] = 255;
+ src[i - 64] = 255;
/* replace element above with 'Xfake_acid_1' */
else
else
- src[i - 64] = 101;
+ src[i - 64] = 101;
/* replace element above with 'Xacid_1' */
}
}
#endif
}
}
#endif