summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 20:55:35 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 20:55:35 +0000
commit34b37179c0895f0b0acc4377bf2bfe5edfcff9ce (patch)
treed650d9bc108404fa0949d5ec2754d96cde31926b /src/map/mob.c
parenta93b8b9c2537bd8359d647ae23e90d084d019535 (diff)
downloadhercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.gz
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.bz2
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.xz
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.zip
Rewrote Quest Log system.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e6fa8d2fd..abcb9f469 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -32,6 +32,8 @@
#include "script.h"
#include "atcommand.h"
#include "date.h"
+#include "quest.h"
+
#include <stdio.h>
#include <stdlib.h>
@@ -1992,6 +1994,8 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
}
pc_setglobalreg(sd,"TK_MISSION_COUNT", sd->mission_count);
}
+ if( sd->avail_quests )
+ quest_update_objective(sd, md->class_);
}
// filter out entries not eligible for exp distribution