Applying the otclient code style

changing the variables names
master
GustavoBlaze 7 years ago committed by GitHub
parent a4400a4ff1
commit bc20e16584

@ -311,7 +311,7 @@ void ThingType::unserialize(uint16 clientId, ThingCategory category, const FileS
stdext::throw_exception("a thing type has more than 4096 sprites");
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();
realTotalSprites += totalSprites;

Loading…
Cancel
Save