summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-23 14:56:10 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-23 14:56:10 +0200
commit5fa882fc81a26825afedefa050fe642e9c50a7b6 (patch)
tree60bdc8942c5015ed2e3cd2b908624c7371db0aaf /src/map
parent3d9317d3a0bb200b9262be8fb882f33b40bfbd2e (diff)
downloadhercules-5fa882fc81a26825afedefa050fe642e9c50a7b6.tar.gz
hercules-5fa882fc81a26825afedefa050fe642e9c50a7b6.tar.bz2
hercules-5fa882fc81a26825afedefa050fe642e9c50a7b6.tar.xz
hercules-5fa882fc81a26825afedefa050fe642e9c50a7b6.zip
remove debug message and related code for missing unit group in case SC_DANCING in status_change_end_()
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/map/status.c b/src/map/status.c
index dc49f7e4e..1f887a250 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -10958,23 +10958,9 @@ static int status_change_end_(struct block_list *bl, enum sc_type type, int tid,
break;
case SC_DANCING:
{
- const char* prevfile = "<unknown>";
- int prevline = 0;
struct map_session_data *dsd;
struct status_change_entry *dsc;
- if (sd) {
- if (sd->delunit_prevfile) {
- // initially this is NULL, when a character logs in
- prevfile = sd->delunit_prevfile;
- prevline = sd->delunit_prevline;
- } else {
- prevfile = "<none>";
- }
- sd->delunit_prevfile = file;
- sd->delunit_prevline = line;
- }
-
if (sce->val4 && sce->val4 != BCT_SELF && (dsd=map->id2sd(sce->val4)) != NULL) {
// end status on partner as well
dsc = dsd->sc.data[SC_DANCING];
@@ -10990,15 +10976,6 @@ static int status_change_end_(struct block_list *bl, enum sc_type type, int tid,
// erase associated land skill
struct skill_unit_group *group = skill->id2group(sce->val2);
- if (group == NULL) {
- ShowDebug("status_change_end: SC_DANCING is missing skill unit group (val1=%d, val2=%d, val3=%d, val4=%d, timer=%d, tid=%d, char_id=%d, map=%s, x=%d, y=%d, prev=%s:%d, from=%s:%d). Please report this! (#3504)\n",
- sce->val1, sce->val2, sce->val3, sce->val4, sce->timer, tid,
- sd ? sd->status.char_id : 0,
- mapindex_id2name(map_id2index(bl->m)), bl->x, bl->y,
- prevfile, prevline,
- file, line);
- }
-
sce->val2 = 0;
if( group )