]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
h2data: use static for homonyms
authorThomas Debesse <dev@illwieckz.net>
Fri, 15 May 2020 03:18:01 +0000 (05:18 +0200)
committerThomas Debesse <dev@illwieckz.net>
Fri, 15 May 2020 04:07:00 +0000 (06:07 +0200)
tools/heretic2/h2data/animcomp.c
tools/heretic2/h2data/sprites.c

index a7619325cba14b7fbf0548106f3c9956e9e30804..778f4c1451a4dcd86f4dde8eb2031a4689dfc493 100644 (file)
@@ -37,7 +37,7 @@ float *best;
 float *comp;
 float *tcomp;
 float *bestcomp;
 float *comp;
 float *tcomp;
 float *bestcomp;
-float *frames;
+static float *frames;
 float *base;
 
 int MatWidth;
 float *base;
 
 int MatWidth;
index 02d74bd5fccdd49096ba37f5c6df20f380d8e18e..8bd84ba9c9634cf9a412e2d54a38fe9fbcf5ab5e 100644 (file)
@@ -25,7 +25,7 @@
 #define MAX_SPRFRAMES           MAX_MD2SKINS
 
 dsprite_t sprite;
 #define MAX_SPRFRAMES           MAX_MD2SKINS
 
 dsprite_t sprite;
-dsprframe_t frames[MAX_SPRFRAMES];
+static dsprframe_t frames[MAX_SPRFRAMES];
 
 char spritename[1024];
 
 
 char spritename[1024];