summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-16 22:54:18 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-16 22:54:18 -0300
commitcf3cf651ec1f0e5f13b4ad62836b4c6c12ab7326 (patch)
tree2d2a6d3674af122940aec1ef1c667a7f42a81005
parentf99eddd35afb01298ed1c729d896e41bf416105b (diff)
downloadevol-hercules-cf3cf651ec1f0e5f13b4ad62836b4c6c12ab7326.tar.gz
evol-hercules-cf3cf651ec1f0e5f13b4ad62836b4c6c12ab7326.tar.bz2
evol-hercules-cf3cf651ec1f0e5f13b4ad62836b4c6c12ab7326.tar.xz
evol-hercules-cf3cf651ec1f0e5f13b4ad62836b4c6c12ab7326.zip
Disable this code as we don't really need it.
-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;
}