summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-06-05 07:33:12 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-06-05 07:33:12 +0000
commit9f35cb7602c55d43ab598145cfcd0703ec1c5059 (patch)
tree2ed8b59c11557289bfe06479687971ea6781c43a /src/resources/spritedef.cpp
parentef11f1b7f9c1ce48df0eff7acd3886768886449a (diff)
downloadmana-client-9f35cb7602c55d43ab598145cfcd0703ec1c5059.tar.gz
mana-client-9f35cb7602c55d43ab598145cfcd0703ec1c5059.tar.bz2
mana-client-9f35cb7602c55d43ab598145cfcd0703ec1c5059.tar.xz
mana-client-9f35cb7602c55d43ab598145cfcd0703ec1c5059.zip
Added command line argument to specify the update host (-H). Also, to avoid
problems when files with the same name are served by different update hosts, the updates are now stored in an update host specific directory. Based on a patch by Sanga.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 3f95b3ec..334474d7 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -51,8 +51,6 @@ SpriteDef::getAction(SpriteAction action) const
SpriteDef *SpriteDef::load(std::string const &animationFile, int variant)
{
- ResourceManager *resman = ResourceManager::getInstance();
-
std::string::size_type pos = animationFile.find('|');
std::string palettes;
if (pos != std::string::npos)