Browse Source

Remove redundant assignment in choose_level

The variable refresh_t was assigned a value of zero before being set to
the real value. The value of zero was never used, so I deleted the
assignment.
Matteo Zeccoli Marazzini 4 years ago
parent
commit
54d1351478
1 changed files with 0 additions and 2 deletions
  1. 0 2
      functions.cpp

+ 0 - 2
functions.cpp

@@ -282,8 +282,6 @@ void choose_level(double& shootr, int& refresh_t, boss& boss1, int& level, int&
 		
 	}while(!(input=='1' || input=='2' || input=='3' || input=='4'));
 	
-	refresh_t=0;
-	
 	create_folder(0);
 	level = input - '0';