diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 9ee65d2d2..c6bab4cfc 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7140,9 +7140,9 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) { } // Remove autotrade to prevent autotrading from save point - if( sd->state.standalone || sd->state.autotrade - && (map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg) - ) { + if( (sd->state.standalone || sd->state.autotrade) + && (map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg) + ) { sd->state.autotrade = 0; sd->state.standalone = 0; pc->autotrade_update(sd,PAUC_REMOVE); |