summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-09-12 00:16:56 +0000
committerFate <fate-tmw@googlemail.com>2009-09-12 00:16:56 +0000
commit6d6ee36ddea2465e34fcb67fc0fc8f37e9818df5 (patch)
tree77cefd6e2392085bf92abeca0af1ef4462e25941 /src/map/pc.c
parent80361c9a3b7fde14bbc094cc1dd241b52e33d9bc (diff)
downloadtmwa-6d6ee36ddea2465e34fcb67fc0fc8f37e9818df5.tar.gz
tmwa-6d6ee36ddea2465e34fcb67fc0fc8f37e9818df5.tar.bz2
tmwa-6d6ee36ddea2465e34fcb67fc0fc8f37e9818df5.tar.xz
tmwa-6d6ee36ddea2465e34fcb67fc0fc8f37e9818df5.zip
Implemented pDeaf property (70) which makes PCs ignore regular PC chat (except for GMs)
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 82c3584..d378f47 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2398,6 +2398,9 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
sd->unbreakable += val;
}
break;
+ case SP_DEAF:
+ sd->special_state.deaf = 1;
+ break;
default:
if(battle_config.error_log)
printf("pc_bonus: unknown type %d %d !\n",type,val);