diff --git a/src/y_inter.c b/src/y_inter.c index d196758c9..8206f0915 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -2032,7 +2032,7 @@ void Y_VoteTicker(void) if (G_PlayerInputDown(i, gc_accelerate, false, DEADZONE_BUTTON) && pressed == false) { - D_ModifyClientVote(i, voteclient.playerinfo[i].selection); + D_ModifyClientVote(g_localplayers[i], voteclient.playerinfo[i].selection); pressed = true; } }