diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-11 12:59:08 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-11 12:59:08 +0000 |
commit | e5176b90cb1c5ff8750b0d1624160134d61e8640 (patch) | |
tree | 0fec13d98eb4419d386d84ce20b0f8f350645318 /src | |
parent | a85e6c544912b9ebd261b5da29b26e3232284173 (diff) | |
download | mana-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.cpp | 3 |
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; } |