summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-24 15:04:28 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-24 15:04:28 -0600
commit0e0affb76f7930994dcb972aead2df555288bad2 (patch)
tree2cff33ca35d9346a6231eb1eb9445ebfcea25a46 /src/resources
parent5cab81561e819405c0952602938fbadf85d3ac4c (diff)
downloadmana-0e0affb76f7930994dcb972aead2df555288bad2.tar.gz
mana-0e0affb76f7930994dcb972aead2df555288bad2.tar.bz2
mana-0e0affb76f7930994dcb972aead2df555288bad2.tar.xz
mana-0e0affb76f7930994dcb972aead2df555288bad2.zip
Remove some unneeded #ifdefs in SpriteDef
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/spritedef.cpp2
-rw-r--r--src/resources/spritedef.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 390bd3d0..125edbea 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -348,7 +348,6 @@ SpriteAction SpriteDef::makeSpriteAction(const std::string &action)
else if (action == "attack_throw") {
return ACTION_ATTACK_THROW;
}
-#ifdef TMWSERV_SUPPORT
else if (action == "special0") {
return ACTION_SPECIAL_0;
}
@@ -379,7 +378,6 @@ SpriteAction SpriteDef::makeSpriteAction(const std::string &action)
else if (action == "special9") {
return ACTION_SPECIAL_9;
}
-#endif
else if (action == "cast_magic") {
return ACTION_CAST_MAGIC;
}
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index c3db8d64..cd7bd7f0 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -43,7 +43,6 @@ enum SpriteAction
ACTION_ATTACK_STAB,
ACTION_ATTACK_BOW,
ACTION_ATTACK_THROW,
-#ifdef TMWSERV_SUPPORT
ACTION_SPECIAL_0,
ACTION_SPECIAL_1,
ACTION_SPECIAL_2,
@@ -54,7 +53,6 @@ enum SpriteAction
ACTION_SPECIAL_7,
ACTION_SPECIAL_8,
ACTION_SPECIAL_9,
-#endif
ACTION_CAST_MAGIC,
ACTION_USE_ITEM,
ACTION_SIT,