summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-04-11 12:59:08 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-04-11 12:59:08 +0000
commite5176b90cb1c5ff8750b0d1624160134d61e8640 (patch)
tree0fec13d98eb4419d386d84ce20b0f8f350645318 /src
parenta85e6c544912b9ebd261b5da29b26e3232284173 (diff)
downloadmana-e5176b90cb1c5ff8750b0d1624160134d61e8640.tar.gz
mana-e5176b90cb1c5ff8750b0d1624160134d61e8640.tar.bz2
mana-e5176b90cb1c5ff8750b0d1624160134d61e8640.tar.xz
mana-e5176b90cb1c5ff8750b0d1624160134d61e8640.zip
Fixing npc lists (again) please don't undo my changes another time :P
Diffstat (limited to 'src')
-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;
}