From d690f8e4b30669b088b99e7b038348dbceb69d5c Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 24 Jun 2012 01:33:50 +0000 Subject: Fixed bugreport:5808 GN Cart Boost is now removed when user takes off his cart git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16339 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index a37c061b2..c4a2c4ef9 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7223,6 +7223,9 @@ int pc_setcart(struct map_session_data *sd,int type) { if( pc_checkskill(sd,MC_PUSHCART) <= 0 ) return 1;// Push cart is required + if( type == 0 && pc_iscarton(sd) ) + status_change_end(&sd->bl,SC_GN_CARTBOOST,INVALID_TIMER); + #ifdef NEW_CARTS switch( type ) { -- cgit v1.2.3-70-g09d2