Closed patrykq112 closed 1 year ago
this is totally out of tibia reality and you are mixing isometric with top down.
this is totally out of tibia reality and you are mixing isometric with top down.
It doesn't matter what graphics I use, because it's a bug in the source. Look:
When we change the outfit to an item then the m_thingType is replaced with that of the item and returns the functions "isGround", "isGroundBorder", "isOnBottom", "isOnTop" of this item.
If someone is looking for a solution to this bug, you should change the function int Thing::getStackPriority() to this:
int Thing::getStackPriority()
{
if (isCreature())
return 4;
if (isGround())
return 0;
if (isGroundBorder())
return 1;
if (isOnBottom())
return 2;
if (isOnTop())
return 3;
// common items
return 5;
}
@mehah Check it out and make changes to the source.
@patrykq112 as you pointed out where the problem could probably be occurring, so it was easier to solve. test and see if it works.
The problem is solved, I close the issue
Priority
High
Area
What happened?
I found a walking bug. Occurs when the creature has an item outfit.
What OS are you seeing the problem on?
Windows
Code of Conduct