• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Avesta NPCs are walking over boxes :(

Gattaca

OTLand's Developer
Joined
Mar 13, 2009
Messages
158
Reaction score
2
Location
Venezuela
Avesta NPCs are walking over boxes :(

do you know how to stop npcs walking over boxes, like, crates, and such?. Just guide me through the function please :(
 
npc.cpp
Npc::canWalkTo(const Position& fromPos, Direction dir) add if(tile->getHeight() > 0) return false; before return true
 
Back
Top