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.
This commit is contained in:
TehRealSalt 2018-06-13 21:58:21 -04:00
parent 5f4c0bb052
commit 8f9595b72f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}