From 6bceccd8702724aaae9250a5122aeba999753619 Mon Sep 17 00:00:00 2001 From: malufett Date: Fri, 20 Feb 2015 00:47:11 +0800 Subject: Fixed Bug#8540 -http://hercules.ws/board/tracker/issue-8540-genetic-ammo-issue/?gopid=24595#entry24595 Signed-off-by: malufett --- src/map/pc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/pc.c b/src/map/pc.c index 6b6c27e0a..550425c0c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -904,7 +904,8 @@ int pc_isequip(struct map_session_data *sd,int n) return 0; if ( item->equip & EQP_AMMO ) { - if ( !pc_iscarton(sd) && (sd->status.class_ == JOB_GENETIC_T || sd->status.class_ == JOB_GENETIC) ) { + if ( (sd->state.active && !pc_iscarton(sd)) // check if sc data is already loaded. + && (sd->status.class_ == JOB_GENETIC_T || sd->status.class_ == JOB_GENETIC) ) { clif->msg(sd, 0x5EF); return 0; } -- cgit v1.2.3-70-g09d2