diff options
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 8e4a16901..78ef6188d 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -1410,9 +1410,14 @@ int guild_opposition(struct map_session_data *sd,int char_id) if(g->alliance[i].opposition==1){ // ‚·‚Å‚É“G‘Î
clif_guild_oppositionack(sd,2);
return 0;
- }else // “¯–¿”jŠü
+ } else { //Change alliance to opposition.
+ if(agit_flag) {
+ clif_displaymessage(sd->fd,"You cannot break an alliance during Guild Wars!");
+ return 0;
+ }
intif_guild_alliance( sd->status.guild_id,tsd->status.guild_id,
sd->status.account_id,tsd->status.account_id,8 );
+ }
}
}
|