projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73365c
)
fixed crash bug
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 18 Nov 2024 19:49:03 +0000
(20:49 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 18 Nov 2024 19:49:03 +0000
(20:49 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 3475aee091daef3cdac805b21ff83f152228b75b..6ec7f0b88b80e071de3035e969fa31d50301efa4 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-2101,7
+2101,7
@@
filetype_id_list[] =
static boolean check_special_flags(char *flag)
{
if (strEqual(options.special_flags, flag) ||
-
strEqual(leveldir_current->special_flags, flag
))
+
(leveldir_current != NULL && strEqual(leveldir_current->special_flags, flag)
))
return TRUE;
return FALSE;