From 6619e19b58fff810cdebc8e00c83a1b5c261214d Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 23 Jul 2007 17:58:54 +0000 Subject: * Changed the restricting mapflag for @jump from nowarp/nowarpto to noteleport * Simplified the mapindex code a bit * Changed clif_skill_warppoint() so that now the '.gat' adding happens inside and doesn't have to be handled by the calling code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10901 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index ccd5b37ed..32541b9c4 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1357,7 +1357,7 @@ int atcommand_jump(const int fd, struct map_session_data* sd, const char* comman x = -1; if (y <= 0) y = -1; - if (sd->bl.m >= 0 && (map[sd->bl.m].flag.nowarp || map[sd->bl.m].flag.nowarpto) && battle_config.any_warp_GM_min_level > pc_isGM(sd)) { + if (sd->bl.m >= 0 && map[sd->bl.m].flag.noteleport && battle_config.any_warp_GM_min_level > pc_isGM(sd)) { clif_displaymessage(fd, msg_txt(248)); // You are not authorized to warp from your current map. return -1; } -- cgit v1.2.3-60-g2f50