summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-10 22:03:57 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-10 22:03:57 +0000
commitf97ddedaa9672c78147fc13282bd14a5be46eb19 (patch)
treeb433e4f9fe285ab6b48fb0e98a8c010e8a9b73e2 /src/resources/spritedef.cpp
parent720f716ba8d98a85266b8e81a534737c6fcdcf5f (diff)
downloadmana-client-f97ddedaa9672c78147fc13282bd14a5be46eb19.tar.gz
mana-client-f97ddedaa9672c78147fc13282bd14a5be46eb19.tar.bz2
mana-client-f97ddedaa9672c78147fc13282bd14a5be46eb19.tar.xz
mana-client-f97ddedaa9672c78147fc13282bd14a5be46eb19.zip
Fixed some compiler warnings and don't try to load particle effects when no
file is set.
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 11821a60..9d98184a 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)