aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/Quest.h1
-rw-r--r--src/Quest.cpp4
2 files changed, 1 insertions, 4 deletions
diff --git a/include/Quest.h b/include/Quest.h
index 65f5b39..5a4144f 100644
--- a/include/Quest.h
+++ b/include/Quest.h
@@ -11,7 +11,6 @@ class Quest {
public:
char *title,*desc;
unsigned int xp;
- Quest();
Quest(const char *t,const char *d,unsigned int x);
~Quest();
};
diff --git a/src/Quest.cpp b/src/Quest.cpp
index 52ab3a8..82c405d 100644
--- a/src/Quest.cpp
+++ b/src/Quest.cpp
@@ -1,11 +1,9 @@
#include <Quest.h>
-Quest QuestList[TOTAL_QUESTS]={
+const Quest QuestList[TOTAL_QUESTS]={
Quest("Test","A test quest",0)
};
-Quest::Quest(){
-}
Quest::Quest(const char *t,const char *d,unsigned int x){
size_t len;
title=(char *)malloc((len=strlen(t)));