CipsoftStinks
www.relicaria.com
Hello can anyone fix this line?
the problem is that when gm walk invisible or use /goto while the player is walking the player gets client crash
so i need to fix it
tell me your price for this
here is the line
the problem is that when gm walk invisible or use /goto while the player is walking the player gets client crash
so i need to fix it
tell me your price for this
here is the line
Code:
bool Player::canWalkthrough(const Creature* creature) const
{
if (creature == this || hasFlag(PlayerFlag_CanPassThroughAllCreatures) || creature->isWalkable() ||
(creature->getMaster() && creature->getMaster() != this && canWalkthrough(creature->getMaster())))
return true;
const Player* player = creature->getPlayer();
if (!player)
return false;
if (((g_game.getWorldType() == WORLDTYPE_OPTIONAL &&
!player->isProtected()) || player->getTile()->hasFlag(TILESTATE_PROTECTIONZONE) || player->isProtected()) && player->getTile()->ground
&& Item::items[player->getTile()->ground->getID()].walkStack && (!player->hasCustomFlag(PlayerCustomFlag_GamemasterPrivileges)
|| player->getAccess() <= getAccess()))
return true;
return (player->isGhost() && getGhostAccess() < player->getGhostAccess())
|| (isGhost() && getGhostAccess() > player->getGhostAccess());
}