summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-05 23:02:54 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-05 23:02:54 -0600
commita1f5bf3b2d6fe9cfb3106d2da798a62cda546f92 (patch)
treecd64fe465730d1e4a9bc3a2e7dab1fb1fda0a732 /src/being.cpp
parent61f7c4269472c806e63b1061cd4e4b8c831c3b59 (diff)
downloadmana-client-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.tar.gz
mana-client-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.tar.bz2
mana-client-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.tar.xz
mana-client-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.zip
Remove debug code that was accidentally committed
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/being.cpp b/src/being.cpp
index e24dee21..843f7da6 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -718,34 +718,10 @@ void Being::logic()
if (mUsedTargetCursor)
mUsedTargetCursor->update(tick_time * 10);
- if (getType() == NPC)
- {
- for (int i = 0; i < VECTOREND_SPRITE; i++)
- {
- if (mSprites[i])
- printf("Has sprite %d\n", i);
- else
- printf("Has not sprite %d\n", i);
- }
- }
-
for (int i = 0; i < VECTOREND_SPRITE; i++)
{
if (mSprites[i])
mSprites[i]->update(tick_time * 10);
- }////
-
- if (getType() == NPC)
- {
- for (int i = 0; i < VECTOREND_SPRITE; i++)
- {
- if (mSprites[i])
- printf("Has sprite %d\n", i);
- else
- printf("Has not sprite %d\n", i);
- }
-
- assert(false);
}
// Restart status/particle effects, if needed
@@ -781,19 +757,6 @@ void Being::draw(Graphics *graphics, int offsetX, int offsetY) const
mSprites[i]->draw(graphics, px, py);
}
}
-
- if (getType() == NPC)
- {
- for (int i = 0; i < VECTOREND_SPRITE; i++)
- {
- if (mSprites[i])
- printf("Has sprite %d\n", i);
- else
- printf("Has not sprite %d\n", i);
- }
-
- assert(false);
- }
}
void Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY)