From 386421a953a51e90fa56da5e294ecdac58647549 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 20 Nov 2006 17:25:05 +0000 Subject: - Fixed itemskill variable being cleared before parsing the skill, this causes auto-casted teleport to fail to skip the skill menu. It is now cleared on castend_pos/id directly. - The item skill/lv variables now use 0 as default to signal they aren't being used (instead of -1) - Skills with state 'move_enable' will now do a "walk path" check between target cell/object and caster instead of a "shoot path" check, this would fix skills like snap or charge from letting you "teleport" across pits. - Fixed a possible double map_addblock when hatching a pet egg right before going through a warp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9275 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index e28c1859d..0ae9eaae9 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -596,8 +596,6 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t sd->state.connect_new = 1; sd->followtimer = -1; // [MouseJstr] - sd->skillitem = -1; - sd->skillitemlv = -1; sd->invincible_timer = -1; sd->canuseitem_tick = tick; -- cgit v1.2.3-70-g09d2