mirror of
https://github.com/edubart/otclient.git
synced 2025-06-16 15:24:29 +02:00
Applying the otclient code style
changing the variables names
This commit is contained in:
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…
x
Reference in New Issue
Block a user