diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2015-02-20 00:47:11 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2015-02-20 00:47:11 +0800 |
commit | 6bceccd8702724aaae9250a5122aeba999753619 (patch) | |
tree | 09e9fda3f40a03e8b194a158193ec8e0b513b435 /src/map | |
parent | e809003ebc015acc98728ba6f4515da173d8aabd (diff) | |
download | hercules-6bceccd8702724aaae9250a5122aeba999753619.tar.gz hercules-6bceccd8702724aaae9250a5122aeba999753619.tar.bz2 hercules-6bceccd8702724aaae9250a5122aeba999753619.tar.xz hercules-6bceccd8702724aaae9250a5122aeba999753619.zip |
Fixed Bug#8540
-http://hercules.ws/board/tracker/issue-8540-genetic-ammo-issue/?gopid=24595#entry24595
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |