Skip to content

Commit

Permalink
declare par time arrays as static const (#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiangreffrath committed Mar 20, 2021
1 parent 86c6148 commit 5003ab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doom/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ void G_ScreenShot (void)


// DOOM Par Times
int pars[4][10] =
static const int pars[4][10] =
{
{0},
{0,30,75,120,90,165,180,180,30,165},
Expand All @@ -1312,7 +1312,7 @@ int pars[4][10] =
};

// DOOM II Par Times
int cpars[32] =
static const int cpars[32] =
{
30,90,120,120,90,150,120,120,270,90, // 1-10
210,150,150,150,210,150,420,150,210,150, // 11-20
Expand All @@ -1321,7 +1321,7 @@ int cpars[32] =
};

// Chex Quest Par Times
int chexpars[6] =
static const int chexpars[6] =
{
0,120,360,480,200,360
};
Expand Down

0 comments on commit 5003ab5

Please sign in to comment.