I'm using the elevation system to make the famous parcel trap:
Its just this 3 changes made by mkalo:
Game.cpp:
elevation system bug
Its just this 3 changes made by mkalo:
Game.cpp:
Code:
ReturnValue Game::internalMoveCreature(Creature* actor, Creature* creature, Cylinder* fromCylinder, Cylinder* toCylinder, uint32_t flags/* = 0*/)
{
//check if we can move the creature to the destination
ReturnValue ret = toCylinder->__queryAdd(0, creature, 1, flags);
if(ret != RET_NOERROR)
return ret;
//height...