From e21db32169966b983e09b53801ee1a6d3101e57e Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Mon, 30 Nov 2015 07:29:39 -0500 Subject: Look at my fancy inventory --- src/Quest.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/Quest.cpp') diff --git a/src/Quest.cpp b/src/Quest.cpp index 5fd7726..6789a05 100644 --- a/src/Quest.cpp +++ b/src/Quest.cpp @@ -14,15 +14,6 @@ const Quest QuestList[TOTAL_QUESTS]={ }; -// Trust nobody -#define STRLEN_MIN 16 - -unsigned int safe_strlen(const char *s){ - unsigned int size=0; - while(s[size])size++; - if(sizeinv->addItem(current[i]->reward.itmid,current[i]->reward.count); + ((Entity *)completer)->inv->addItem(current[i]->reward.id,current[i]->reward.count); current.erase(current.begin()+i); #ifdef DEBUG DEBUG_printf("QuestHandler now has %u active quests.\n",current.size()); -- cgit v1.2.3