projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version number set to 4.3.4.1
[rocksndiamonds.git]
/
src
/
game_em
/
reademc.c
diff --git
a/src/game_em/reademc.c
b/src/game_em/reademc.c
index a192b9ba2c1ca57108edaa0531fc7fecc2c4ca39..dfa293a6ebe1eeee4d905142e7af8a0618bb9db0 100644
(file)
--- a/
src/game_em/reademc.c
+++ b/
src/game_em/reademc.c
@@
-299,8
+299,6
@@
void convert_em_level(unsigned char *src, int file_version)
cav.time_seconds = MIN(GET_BE16(src[2110]), 9999);
cav.gems_needed = src[2095];
cav.time_seconds = MIN(GET_BE16(src[2110]), 9999);
cav.gems_needed = src[2095];
- cav.infinite = game_em.use_wrap_around;
- cav.testmode = FALSE;
cav.teamwork = (src[2150] & 128) != 0;
/* scores */
cav.teamwork = (src[2150] & 128) != 0;
/* scores */
@@
-314,7
+312,7
@@
void convert_em_level(unsigned char *src, int file_version)
cav.nut_score = src[2090];
cav.dynamite_score = src[2091];
cav.key_score = src[2092];
cav.nut_score = src[2090];
cav.dynamite_score = src[2091];
cav.key_score = src[2092];
- cav.exit_score = src[2093]
* 8 / 5
;
+ cav.exit_score = src[2093];
cav.lenses_score = src[2151];
cav.magnify_score = src[2152];
cav.lenses_score = src[2151];
cav.magnify_score = src[2152];
@@
-786,8
+784,7
@@
int cleanup_em_level(unsigned char *src, int length, char *filename)
/* size of v6 cave */
length = 2172;
/* size of v6 cave */
length = 2172;
- if (options.debug)
- Debug("level:native:EM", "EM level file version: %d", file_version);
+ Debug("level:native:EM", "EM level file version: %d", file_version);
return file_version;
}
return file_version;
}