summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emap/mob.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/mob.c b/src/emap/mob.c
index 85cf3c6..04507a2 100644
--- a/src/emap/mob.c
+++ b/src/emap/mob.c
@@ -344,6 +344,12 @@ int emob_dead_pre(struct mob_data **mdPtr,
map->iwall_remove(name);
}
// FIXME: Check if srcPtr is not null, THEN try this code
+ /////////////////////////////////////////////////////////////////////////
+ // Program terminated with signal SIGSEGV, Segmentation fault.
+ // i#0 emob_dead_pre (mdPtr=<optimized out>, srcPtr=0x7ffcd5622190, typePtr=0x7ffcd562218c) at ../../src/emap/mob.c:351
+ // 351 if (sd->sc.data && sd->sc.data[SC_BOTTER_SYNDROME]) {
+ /////////////////////////////////////////////////////////////////////////
+ /*
if (srcPtr && *srcPtr) {
// If Botter Syndrome is active, mob may randomly get NODROP
// Aka *typePtr |= 1
@@ -353,6 +359,7 @@ int emob_dead_pre(struct mob_data **mdPtr,
*typePtr = *typePtr | 1;
}
}
+ */
}
return 3;
}