From e5176b90cb1c5ff8750b0d1624160134d61e8640 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Mon, 11 Apr 2005 12:59:08 +0000 Subject: Fixing npc lists (again) please don't undo my changes another time :P --- src/gui/npc.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/npc.cpp') diff --git a/src/gui/npc.cpp b/src/gui/npc.cpp index 1753178b..42d1151c 100644 --- a/src/gui/npc.cpp +++ b/src/gui/npc.cpp @@ -91,6 +91,9 @@ void NpcListDialog::parseItems(const char *string) { token = strtok(NULL, ":"); } + // TEMP: remove the last item insrted (fixes an athena bug probably) + items.pop_back(); + delete[] copy; } -- cgit v1.2.3-70-g09d2