From 8f9595b72fee1d0bb2b88d3ba7cae4118384af89 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Wed, 13 Jun 2018 21:58:21 -0400 Subject: [PATCH] Readd voting cheating, just in an entirely different way Will need tested for desyncs, since it adds some RNG into the vote ticker. Which may or may not matter. --- src/y_inter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/y_inter.c b/src/y_inter.c index d8291933..b1c7198e 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -2410,6 +2410,8 @@ void Y_VoteTicker(void) if (tempvotes[((pickedvote + voteclient.roffset + i) % numvotes)] == pickedvote) { voteclient.rendoff = voteclient.roffset+i; + if (P_RandomChance(FRACUNIT/1024)) // Let it cheat occasionally~ + voteclient.rendoff++; S_ChangeMusicInternal("voteeb", false); break; }