summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/actorspritemanager.cpp
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r--src/actorspritemanager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp
index 758a452b1..af30b2fa6 100644
--- a/src/actorspritemanager.cpp
+++ b/src/actorspritemanager.cpp
@@ -45,7 +45,6 @@
#include <algorithm>
#include <list>
-#include <vector>
#include "debug.h"
@@ -1216,8 +1215,7 @@ void ActorSpriteManager::printBeingsToChat(std::vector<Being*> beings,
debugChatTab->chatLog("---------------------------------------");
}
-void ActorSpriteManager::getPlayerNames(std::vector<std::string> &names,
- bool npcNames)
+void ActorSpriteManager::getPlayerNames(StringVect &names, bool npcNames)
{
names.clear();
@@ -1242,7 +1240,7 @@ void ActorSpriteManager::getPlayerNames(std::vector<std::string> &names,
}
}
-void ActorSpriteManager::getMobNames(std::vector<std::string> &names)
+void ActorSpriteManager::getMobNames(StringVect &names)
{
names.clear();