summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npclistdialog.cpp')
-rw-r--r--src/gui/npclistdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp
index 34597627..2d12986d 100644
--- a/src/gui/npclistdialog.cpp
+++ b/src/gui/npclistdialog.cpp
@@ -64,13 +64,13 @@ NpcListDialog::NpcListDialog():
int
NpcListDialog::getNumberOfElements()
{
- return items.size();
+ return mItems.size();
}
std::string
NpcListDialog::getElementAt(int i)
{
- return items[i];
+ return mItems[i];
}
void
@@ -80,14 +80,14 @@ NpcListDialog::parseItems(const std::string &itemString)
std::string tmp;
while(getline(iss, tmp, ':')) {
- items.push_back(tmp);
+ mItems.push_back(tmp);
}
}
void
NpcListDialog::reset()
{
- items.clear();
+ mItems.clear();
}
void