diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-05 23:02:54 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-05 23:02:54 -0600 |
commit | a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92 (patch) | |
tree | cd64fe465730d1e4a9bc3a2e7dab1fb1fda0a732 /src/npc.cpp | |
parent | 61f7c4269472c806e63b1061cd4e4b8c831c3b59 (diff) | |
download | mana-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.tar.gz mana-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.tar.bz2 mana-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.tar.xz mana-a1f5bf3b2d6fe9cfb3106d2da798a62cda546f92.zip |
Remove debug code that was accidentally committed
Diffstat (limited to 'src/npc.cpp')
-rw-r--r-- | src/npc.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 89b92ffe..a49ef406 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -52,10 +52,6 @@ NPC::NPC(int id, int job, Map *map): std::string file = "graphics/sprites/" + (*i)->sprite; int variant = (*i)->variant; mSprites[c] = AnimatedSprite::load(file, variant); - if (mSprites[c]) - printf("Placed sprite '%s'(%d) at %d\n", file.c_str(), variant, c); - else - printf("Placed nonsprite '%s'(%d) at %d\n", file.c_str(), variant, c); c++; } @@ -73,14 +69,6 @@ NPC::NPC(int id, int job, Map *map): mName = 0; mNameColor = &guiPalette->getColor(Palette::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); - } } NPC::~NPC() @@ -124,8 +112,6 @@ void NPC::talk() isTalking = true; - checkSprites(); - Net::getNpcHandler()->talk(mId); } @@ -136,14 +122,3 @@ void NPC::updateCoords() mName->adviseXY(getPixelX(), getPixelY()); } } - -void NPC::checkSprites() -{ - 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); - } -} |