From 23fe1c09858d61c5afd3a8a0dd2c721618dd8725 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 24 Nov 2019 02:10:52 +0300 Subject: [PATCH] engine: use appropriate path array length --- engine/common/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/common.h b/engine/common/common.h index ff85c78d..4a165b48 100644 --- a/engine/common/common.h +++ b/engine/common/common.h @@ -441,8 +441,8 @@ typedef struct host_parm_s qboolean movevars_changed; qboolean renderinfo_changed; - char rootdir[256]; // member root directory - char rodir[256]; // readonly root + char rootdir[MAX_OSPATH]; // member root directory + char rodir[MAX_OSPATH]; // readonly root char gamefolder[MAX_QPATH]; // it's a default gamefolder byte *imagepool; // imagelib mempool byte *soundpool; // soundlib mempool