projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added checking for invalid/malicious packet size in network protocol
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 5888f344a81c9cbd4585fdadff54f0a27b89d1fb..7321731c75110895a24c6c0380a5036cdf338ee2 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-45,6
+45,7
@@
LevelDirTree *leveldir_first = NULL;
LevelDirTree *leveldir_current = NULL;
int level_nr;
LevelDirTree *leveldir_current = NULL;
int level_nr;
+struct LevelSetInfo levelset;
struct LevelStats level_stats[MAX_LEVELS];
DrawWindow *window = NULL;
struct LevelStats level_stats[MAX_LEVELS];
DrawWindow *window = NULL;
@@
-122,6
+123,7
@@
void InitScoresInfo()
program.global_scores = directoryExists(global_scores_dir);
program.many_scores_per_name = !program.global_scores;
program.global_scores = directoryExists(global_scores_dir);
program.many_scores_per_name = !program.global_scores;
+#if 0
if (options.debug)
{
if (program.global_scores)
if (options.debug)
{
if (program.global_scores)
@@
-136,6
+138,7
@@
void InitScoresInfo()
Error(ERR_DEBUG, "Using private, single-user scores directory.");
}
}
Error(ERR_DEBUG, "Using private, single-user scores directory.");
}
}
+#endif
free(global_scores_dir);
}
free(global_scores_dir);
}