Applying the otclient code style

changing the variables names
This commit is contained in:
GustavoBlaze 2017-01-24 14:58:11 -02:00 committed by GitHub
parent a4400a4ff1
commit bc20e16584
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ void ThingType::unserialize(uint16 clientId, ThingCategory category, const FileS
stdext::throw_exception("a thing type has more than 4096 sprites"); stdext::throw_exception("a thing type has more than 4096 sprites");
m_spritesIndex.resize((realTotalSprites+totalSprites)); m_spritesIndex.resize((realTotalSprites+totalSprites));
for(int i = lastTotalSprites; i < (realTotalSprites+totalSprites); i++) for(int i = realTotalSprites; i < (realTotalSprites+totalSprites); i++)
m_spritesIndex[i] = g_game.getFeature(Otc::GameSpritesU32) ? fin->getU32() : fin->getU16(); m_spritesIndex[i] = g_game.getFeature(Otc::GameSpritesU32) ? fin->getU32() : fin->getU16();
realTotalSprites += totalSprites; realTotalSprites += totalSprites;