Mark reactor default countdown times as const

This commit is contained in:
Kp 2012-07-15 17:32:21 +00:00
parent 6914285892
commit 8352c7e90b

View file

@ -128,7 +128,7 @@ int Control_center_destroyed = 0;
fix Countdown_timer=0;
int Countdown_seconds_left=0, Total_countdown_time=0; //in whole seconds
int Alan_pavlish_reactor_times[NDL] = {90, 60, 45, 35, 30};
static const int Alan_pavlish_reactor_times[NDL] = {90, 60, 45, 35, 30};
// -----------------------------------------------------------------------------
// Called every frame. If control center been destroyed, then actually do something.