From 18bca3dce9da5c41f50ddefb310871206e09125b Mon Sep 17 00:00:00 2001 From: mateuszb Date: Sun, 28 Jun 2009 14:57:00 +0000 Subject: [PATCH] * loadUnitAnimInfo is now more clear --- hch/CCreatureHandler.cpp | 152 ++++++++------------------------------- 1 file changed, 31 insertions(+), 121 deletions(-) diff --git a/hch/CCreatureHandler.cpp b/hch/CCreatureHandler.cpp index 9d6a510c9..bbc1d8728 100644 --- a/hch/CCreatureHandler.cpp +++ b/hch/CCreatureHandler.cpp @@ -90,7 +90,7 @@ si32 CCreature::maxAmount(const std::vector &res) const //how many creatur return ret; } -int readNumber(int & befi, int & i, int andame, std::string & buf) //helper function for void CCreatureHandler::loadCreatures() +int readNumber(int & befi, int & i, int andame, std::string & buf) //helper function for void CCreatureHandler::loadCreatures() and loadUnitAnimInfo() { befi=i; for(i; i