mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Minor fixes
This commit is contained in:
parent
782a5d7fd9
commit
c32591e767
1 changed files with 4 additions and 4 deletions
|
|
@ -2192,7 +2192,7 @@ void Y_VoteDrawer(void)
|
||||||
{
|
{
|
||||||
patch_t *pic;
|
patch_t *pic;
|
||||||
|
|
||||||
if ((votes[i] == 3 && i != pickedvote) || voteendtic-votetic > 3*TICRATE)
|
if (votes[i] == 3 && (i != pickedvote || voteendtic-votetic > 3*TICRATE))
|
||||||
pic = randomlvl;
|
pic = randomlvl;
|
||||||
else
|
else
|
||||||
pic = levelinfo[votes[i]].pic;
|
pic = levelinfo[votes[i]].pic;
|
||||||
|
|
@ -2311,14 +2311,14 @@ void Y_VoteTicker(void)
|
||||||
numvotes++;
|
numvotes++;
|
||||||
}
|
}
|
||||||
|
|
||||||
randomanim = tempvotes[((pickedvote - ((voteendtic-votetic) / (TICRATE/7))) % numvotes)];
|
randomanim = tempvotes[((pickedvote + ((voteendtic-votetic) / (TICRATE/7))) % numvotes)];
|
||||||
S_StartSound(NULL, sfx_menu1);
|
S_StartSound(NULL, sfx_menu1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
randomanim = pickedvote;
|
randomanim = pickedvote;
|
||||||
if (voteendtic-votetic == 3*TICRATE-1)
|
if (voteendtic-votetic == 3*TICRATE-1)
|
||||||
S_StartSound(NULL, sfx_ncitem);
|
S_StartSound(NULL, sfx_s3k63);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -2353,7 +2353,7 @@ void Y_VoteTicker(void)
|
||||||
|
|
||||||
if (pressed)
|
if (pressed)
|
||||||
{
|
{
|
||||||
S_StartSound(NULL, sfx_menu1);
|
S_StartSound(NULL, sfx_s3k5b);
|
||||||
voteclient.delay = NEWTICRATE/7;
|
voteclient.delay = NEWTICRATE/7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue