ref: 5003ab5283ff27c951c97b064c26cdde2bb0f427
parent: 86c6148b2141c3d0d08137dd377f80087321cc98
author: Fabian Greffrath <[email protected]>
date: Sat Mar 20 18:06:06 EDT 2021
declare par time arrays as static const (#1363)
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -1303,7 +1303,7 @@
// DOOM Par Times
-int pars[4][10] =
+static const int pars[4][10] =
{
{0},
{0,30,75,120,90,165,180,180,30,165},
@@ -1312,7 +1312,7 @@
};
// 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
@@ -1321,7 +1321,7 @@
};
// Chex Quest Par Times
-int chexpars[6] =
+static const int chexpars[6] =
{
0,120,360,480,200,360
};