|
@@ -866,9 +866,10 @@ bool skill_isNotOk( uint16 skill_id, map_session_data& sd ){
|
|
|
|
|
|
uint32 skill_nocast = skill_get_nocast(skill_id);
|
|
|
// Check skill restrictions [Celest]
|
|
|
- if (mapdata != nullptr && mapdata->zone->isSkillDisabled(skill_id, sd->bl.type, pc_get_group_level(sd))) {
|
|
|
+ if (mapdata != nullptr && mapdata->zone->isSkillDisabled(skill_id, sd.bl.type, pc_get_group_level(&sd))) {
|
|
|
clif_msg(&sd, SKILL_CANT_USE_AREA); // This skill cannot be used within this area
|
|
|
return true;
|
|
|
+ }
|
|
|
|
|
|
if( sd.sc.getSCE(SC_ALL_RIDING) )
|
|
|
return true; //You can't use skills while in the new mounts (The client doesn't let you, this is to make cheat-safe)
|