czouski
Banned User
- Joined
- Nov 2, 2024
- Messages
- 166
- Solutions
- 1
- Reaction score
- 64
When rightclicking a corpse player walks over Fields or any other thing on the map.
is there any simple way to fix it?
for example walking with left click takes correct path and avoids things.
can anyone atleast point me in the right function as this stuff just seems scattered half of the time meaninglessly
fix:
before fix:
gyazo.com
after fix:
gyazo.com
extra before clip:
gyazo.com
extra after clip:
gyazo.com
is there any simple way to fix it?
for example walking with left click takes correct path and avoids things.
can anyone atleast point me in the right function as this stuff just seems scattered half of the time meaninglessly
fix:
C++:
//path finding fix for walking over fields.
if (hasBitSet(FLAG_PATHFINDING, flags) && hasFlag(TILESTATE_BLOCKPATH)) {
return RETURNVALUE_THEREISNOWAY;
}

Gyazo Screen Video

Gyazo Screen Video
extra before clip:

Gyazo Screen Video

Gyazo Screen Video
Last edited: