summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 8990ec339..98b83bcf7 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2848,7 +2848,8 @@ std::string Being::loadComment(const std::string &name, const int type)
const ResourceManager *const resman = ResourceManager::getInstance();
if (resman->existsLocal(str))
{
- lines = resman->loadTextFileLocal(str);
+ StringVect lines;
+ resman->loadTextFileLocal(str, lines);
if (lines.size() >= 2)
return lines[1];
}