|
@@ -393,6 +393,7 @@ struct map_session_data {
|
|
|
uint16 inventory_expansion_amount;
|
|
|
t_itemid laphine_synthesis;
|
|
|
t_itemid laphine_upgrade;
|
|
|
+ bool roulette_open;
|
|
|
} state;
|
|
|
struct {
|
|
|
unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;
|
|
@@ -1065,7 +1066,8 @@ static bool pc_cant_act2( struct map_session_data* sd ){
|
|
|
|| sd->state.trading || sd->state.storage_flag || sd->state.prevend || sd->state.refineui_open
|
|
|
|| sd->state.stylist_open || sd->state.inventory_expansion_confirmation || sd->npc_shopid
|
|
|
|| sd->state.barter_open || sd->state.barter_extended_open
|
|
|
- || sd->state.laphine_synthesis || sd->state.laphine_upgrade;
|
|
|
+ || sd->state.laphine_synthesis || sd->state.laphine_upgrade
|
|
|
+ || sd->state.roulette_open;
|
|
|
}
|
|
|
// equals pc_cant_act2 and additionally checks for chat rooms and npcs
|
|
|
static bool pc_cant_act( struct map_session_data* sd ){
|