Make scores_handler fades[] static const

This commit is contained in:
Kp 2013-12-08 21:58:59 +00:00
parent 5ba6917c30
commit 02f4c007e3

View file

@ -347,7 +347,7 @@ static int scores_handler(window *wind, d_event *event, scores_menu *menu)
{
int i;
int k;
sbyte fades[64] = { 1,1,1,2,2,3,4,4,5,6,8,9,10,12,13,15,16,17,19,20,22,23,24,26,27,28,28,29,30,30,31,31,31,31,31,30,30,29,28,28,27,26,24,23,22,20,19,17,16,15,13,12,10,9,8,6,5,4,4,3,2,2,1,1 };
static const sbyte fades[64] = { 1,1,1,2,2,3,4,4,5,6,8,9,10,12,13,15,16,17,19,20,22,23,24,26,27,28,28,29,30,30,31,31,31,31,31,30,30,29,28,28,27,26,24,23,22,20,19,17,16,15,13,12,10,9,8,6,5,4,4,3,2,2,1,1 };
int w = FSPACX(290), h = FSPACY(170);
switch (event->type)