]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_spri.c
p16 is being worked on a bunch by me wwww [16_ca needs huge amounts of work and I...
[16.git] / src / lib / 16_spri.c
index 5c24d89ba633716da36fc9bfaab9897deb099985..62c01aa44980ce3401d2f35c2639d8282667d3c1 100755 (executable)
@@ -22,8 +22,6 @@
 \r
 #include "src/lib/16_spri.h"\r
 \r
-struct glob_game_vars  *ggvv;\r
-\r
 char* get_curr_anim_name(struct sprite *spri)\r
 {\r
        // Retrive animation name list\r
@@ -103,6 +101,7 @@ void animate_spri(entity_t *enti, video_t *video)
 #define INC_PER_FRAME if(enti->q&1) enti->persist_aniframe++; if(enti->persist_aniframe>4) enti->persist_aniframe = 1;\r
        unsigned int i,o,o2; int j;\r
        int x,y,rx,ry,w,h;\r
+       static struct glob_game_vars *ggvv;\r
        VGA_RAM_PTR omemptr = (VGA_RAM_PTR)video->page[0].data;// save original mem ptr\r
 \r
        x=enti->spri.x;\r