summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-16 14:54:44 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-16 14:54:44 +0800
commitebe4b2cab9f196625a080c2b92399c06b004644b (patch)
tree6a4519c3c34a646e23914be4d474ee134a4bd1a6 /mbbsd/mbbsd.c
parent567095c98731c804dab1c64cac7809aec1cc51d8 (diff)
downloadpttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.tar
pttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.tar.gz
pttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.tar.bz2
pttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.tar.lz
pttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.tar.xz
pttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.tar.zst
pttbbs-ebe4b2cab9f196625a080c2b92399c06b004644b.zip
Asking/answering works!
git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 14f010d6..f8d2dc31 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -310,7 +310,12 @@ add_history(msgque_t * msg)
add_history_water(&water[0], msg);
if (WATERMODE(WATER_NEW) || WATERMODE(WATER_OFO)) {
for (i = 0; i < 5 && swater[i]; i++)
- if (swater[i]->pid == msg->pid)
+ if (swater[i]->pid == msg->pid
+#ifdef PLAY_ANGEL
+ && swater[i]->msg[0].msgmode == msg->msgmode
+ /* When throwing waterball to angel directly */
+#endif
+ )
break;
if (i == 5) {
waterinit = 1;