diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-08 18:58:32 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-08 18:58:32 -0400 |
commit | 59d3f414f702b57f453e78ebe9c31b9ee5d03054 (patch) | |
tree | a9a1d1304ed0f9682511b691297c6aac2a162e9a | |
parent | 82a103b8357675c467bc46fc24b3f9ecb18f22dc (diff) |
better
-rw-r--r-- | include/Quest.h | 1 | ||||
-rw-r--r-- | src/Quest.cpp | 4 |
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))); |