summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/npc.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}