diff --git a/client/CAnimation.cpp b/client/CAnimation.cpp index 6195dfd19..f0585c04c 100644 --- a/client/CAnimation.cpp +++ b/client/CAnimation.cpp @@ -195,7 +195,7 @@ void CDefFile::loadFrame(size_t frame, size_t group, ImageLoader &loader) const case 1: { //for each line we have offset of pixel data - const ui32 * RWEntriesLoc = reinterpret_cast(FDef+currentOffset); + const ui32 * RWEntriesLoc = reinterpret_cast(FDef+currentOffset); currentOffset += sizeof(ui32) * sprite.height; for (unsigned int i=0; ilevel < 7) - std::copy(commonBonuses[it-1].begin(), commonBonuses[it-1].end(), c->bonuses.begin()); - else - std::copy(commonBonuses[7].begin(), commonBonuses[7].end(), c->bonuses.begin()); //common for tiers 8+ - } +// BOOST_FOREACH(CCreature *c, creatures) +// { +// if (it = c->level < 7) +// std::copy(commonBonuses[it-1].begin(), commonBonuses[it-1].end(), c->bonuses.begin()); +// else +// std::copy(commonBonuses[7].begin(), commonBonuses[7].end(), c->bonuses.begin()); //common for tiers 8+ +// } } //end of stack experience }