mirror of
https://github.com/edubart/otclient.git
synced 2025-12-17 06:07:11 +01:00
Started 1050 implementation and fix ups:
* Dat now loads (new animations aren't yet functional). * Fixed the way we reference client versions. TODO: Write new animation functionality & find out protocol changes.
This commit is contained in:
@@ -217,7 +217,7 @@ void Tile::addThing(const ThingPtr& thing, int stackPos)
|
||||
append = (priority <= 3);
|
||||
|
||||
// newer protocols does not store creatures in reverse order
|
||||
if(g_game.getProtocolVersion() >= 854 && priority == 4)
|
||||
if(g_game.getClientVersion() >= 854 && priority == 4)
|
||||
append = !append;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user