• 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!

C++ Walk over not walkable item/tile

Caesarrr

New Member
Joined
Oct 27, 2014
Messages
16
Reaction score
0
TFS 1.3
Does someone know where in the source the code checks if the player is trying to walk on a not walkable item/tile, etc?
 
@Cosades
C++:
    //check if we can move the creature to the destination
    ReturnValue ret = toTile.queryAdd(0, creature, 1, flags);
    if (ret != RETURNVALUE_NOERROR) {
        ret = RETURNVALUE_NOERROR;
        return ret;
    }

I have compiled like it just to test, but I still cant walk over not walkable things
 
Back
Top