From: Thomas Debesse Date: Fri, 15 May 2020 03:18:01 +0000 (+0200) Subject: h2data: use static for homonyms X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c995981050b4de4cc70a9d02495964d667c7e7a3;p=xonotic%2Fnetradiant.git h2data: use static for homonyms --- diff --git a/tools/heretic2/h2data/animcomp.c b/tools/heretic2/h2data/animcomp.c index a7619325..778f4c14 100644 --- a/tools/heretic2/h2data/animcomp.c +++ b/tools/heretic2/h2data/animcomp.c @@ -37,7 +37,7 @@ float *best; float *comp; float *tcomp; float *bestcomp; -float *frames; +static float *frames; float *base; int MatWidth; diff --git a/tools/heretic2/h2data/sprites.c b/tools/heretic2/h2data/sprites.c index 02d74bd5..8bd84ba9 100644 --- a/tools/heretic2/h2data/sprites.c +++ b/tools/heretic2/h2data/sprites.c @@ -25,7 +25,7 @@ #define MAX_SPRFRAMES MAX_MD2SKINS dsprite_t sprite; -dsprframe_t frames[MAX_SPRFRAMES]; +static dsprframe_t frames[MAX_SPRFRAMES]; char spritename[1024];