summaryrefslogtreecommitdiff
path: root/src/map/quest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/quest.h')
-rw-r--r--src/map/quest.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/map/quest.h b/src/map/quest.h
index db9ffa142..36ac69a53 100644
--- a/src/map/quest.h
+++ b/src/map/quest.h
@@ -8,7 +8,6 @@
#include "map.h" // TBL_PC
#include "../common/cbasetypes.h"
#include "../common/conf.h"
-#include "../common/mmo.h" // MAX_QUEST_OBJECTIVES
#define MAX_QUEST_DB (60355+1) // Highest quest ID + 1
@@ -18,12 +17,16 @@ struct quest_dropitem {
int rate;
};
+struct quest_objective {
+ int mob;
+ int count;
+};
+
struct quest_db {
int id;
unsigned int time;
- int mob[MAX_QUEST_OBJECTIVES];
- int count[MAX_QUEST_OBJECTIVES];
- int num_objectives;
+ int objectives_count;
+ struct quest_objective *objectives;
int dropitem_count;
struct quest_dropitem *dropitem;
//char name[NAME_LENGTH];