From 5003ab5283ff27c951c97b064c26cdde2bb0f427 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Sat, 20 Mar 2021 22:06:06 +0100 Subject: [PATCH] declare par time arrays as static const (#1363) --- src/doom/g_game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doom/g_game.c b/src/doom/g_game.c index ff4c3763ee..7efc652942 100644 --- a/src/doom/g_game.c +++ b/src/doom/g_game.c @@ -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}, @@ -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 @@ -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 };