Remove superfluous assignment after delete (#654)

This commit is contained in:
Maxim Telezhenko 2017-08-22 22:55:04 +03:00 committed by Asher Baker
parent 9af507a322
commit 68c00b8ae7
3 changed files with 0 additions and 3 deletions

View File

@ -378,7 +378,6 @@ void VoteSelect(Menu menu, int param1, int param2 = 0)
void VoteMenuClose()
{
delete g_hVoteMenu;
g_hVoteMenu = null;
}
float GetVotePercent(int votes, int totalVotes)

View File

@ -298,7 +298,6 @@ void VoteSelect(Menu menu, int param1, int param2 = 0)
void VoteMenuClose()
{
delete g_hVoteMenu;
g_hVoteMenu = null;
}
float GetVotePercent(int votes, int totalVotes)

View File

@ -682,7 +682,6 @@ void InitiateVote(MapChange when, ArrayList inputlist=null)
{
g_HasVoteStarted = false;
delete g_VoteMenu;
g_VoteMenu = null;
return;
}