From b58a1aa7d4505a3b76a999a292de7b7e9d10327d Mon Sep 17 00:00:00 2001 From: Henrique Date: Fri, 26 Aug 2011 12:48:23 -0300 Subject: [PATCH] remove garbage --- src/otclient/core/creature.cpp | 1 + src/otclient/core/datmanager.cpp | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/otclient/core/creature.cpp b/src/otclient/core/creature.cpp index c0e6110e..65cdc089 100644 --- a/src/otclient/core/creature.cpp +++ b/src/otclient/core/creature.cpp @@ -42,6 +42,7 @@ void Creature::draw(int x, int y) // TODO 1: FIX RENDER STEP 2 // TODO 2: FIX SHAKY EFFECT // TODO 3: ADD ANIMATION + // TODO 4: ADD DIAGONAL WALKING const ThingAttributes& attributes = getAttributes(); diff --git a/src/otclient/core/datmanager.cpp b/src/otclient/core/datmanager.cpp index 3d759aab..caac3cd6 100644 --- a/src/otclient/core/datmanager.cpp +++ b/src/otclient/core/datmanager.cpp @@ -17,14 +17,9 @@ bool DatManager::load(const std::string& file) int numShots = fw::getu16(fin); m_itemsAttributes.resize(numItems); - for(int id = 100; id < numItems; ++id) { + for(int id = 100; id < numItems; ++id) parseThingAttributes(fin, m_itemsAttributes[id - 100]); - if(id == 436 || id == 870 || id == 4522) { - dump << id << (int)m_itemsAttributes[id-100].speed; - } - } - m_creaturesAttributes.resize(numItems); for(int id = 0; id < numCreatures; ++id) parseThingAttributes(fin, m_creaturesAttributes[id]);