summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-11-27 02:34:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-11-27 02:34:03 +0800
commit34dcaf1df4639655a1dcf9f721b1a6c46e55576d (patch)
tree907dab623c7de81ea91dd53ab0481911fb2a25ae
parent887818c1c66784d848aa3254bf3a27f76c955916 (diff)
downloadpttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.tar
pttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.tar.gz
pttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.tar.bz2
pttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.tar.lz
pttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.tar.xz
pttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.tar.zst
pttbbs-34dcaf1df4639655a1dcf9f721b1a6c46e55576d.zip
make angel changes optional.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/angel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c
index a4a64099..bd3e08b0 100644
--- a/pttbbs/mbbsd/angel.c
+++ b/pttbbs/mbbsd/angel.c
@@ -369,6 +369,7 @@ int a_angelreport() {
rpt.max_masters_of_active_angels/base2);
}
+#ifdef ANGEL_REPORT_INDEX
if (HasUserPerm(PERM_ANGEL)) {
if (currutmp->angelpause != ANGELPAUSE_NONE)
prints("\n\t 由於您目前拒收小主人所以無順位資訊\n");
@@ -380,6 +381,7 @@ int a_angelreport() {
rpt.my_active_index);
prints("\n\t 您目前大約有 %d 位小主人。\n", rpt.my_active_masters);
}
+#endif
}
close(fd);
pressanykey();
@@ -603,7 +605,9 @@ TalkToAngel(){
if (cuser.myangel[0] == 0) {
int ret = FindAngel();
+#ifdef ANGEL_PREVENT_MALICIOUS_CHANGE
is_new_angel = 1;
+#endif
if (ret <= 0) {
lastuent = NULL;
NoAngelFound(