From c281b6e82fae5932d9d8a1e2c7f9039a5bc70a9f Mon Sep 17 00:00:00 2001 From: James R <justsomejames2@gmail.com> Date: Wed, 16 Oct 2019 10:16:12 -0700 Subject: [PATCH] Give feedback on vote if it is not the same --- src/d_vote.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/d_vote.c b/src/d_vote.c index 810a77f7c..c8f9746d0 100644 --- a/src/d_vote.c +++ b/src/d_vote.c @@ -229,6 +229,14 @@ D_Vote (int n, int from) Addvote(n, abs(n));/* add our new vote */ (*vote) = n;/* cache for later */ + + if (n != d) + { + if (n < 0) + D_Sayto(from, "You voted no."); + else + D_Sayto(from, "You voted yes."); + } } } } -- GitLab