From 2a563d6f25a71365581e9add84dd37a5a1b2b622 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Fri, 9 Feb 2018 21:14:14 -0500 Subject: [PATCH] Faster --- src/y_inter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/y_inter.c b/src/y_inter.c index 6895f5a32..22aa59b9a 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -2290,7 +2290,7 @@ void Y_VoteTicker(void) UINT8 tempvotes[MAXPLAYERS]; UINT8 numvotes = 0; - if (votetic % (TICRATE/3) != 0) + if (votetic % 5) return; for (i = 0; i < MAXPLAYERS; i++) @@ -2301,7 +2301,7 @@ void Y_VoteTicker(void) numvotes++; } - randomanim = tempvotes[((pickedvote + ((voteendtic-votetic) / (TICRATE/3))) % numvotes)]; + randomanim = tempvotes[((pickedvote + ((voteendtic-votetic) / 5)) % numvotes)]; S_StartSound(NULL, sfx_s3k5b); } else