- removed unused animlock variable.

This commit is contained in:
Christoph Oelckers 2019-10-20 10:14:07 +02:00
parent ca789dc4d0
commit 215a7cdff3
3 changed files with 2 additions and 6 deletions

View file

@ -438,7 +438,6 @@ int32_t Anim_Play(const char *fn)
goto end_anim;
}
anim->animlock = 255;
anim->animbuf = buffer.Data();
kread(handle, anim->animbuf, length);
@ -576,7 +575,6 @@ end_anim:
tileDelete(TILE_ANIM);
// this is the lock for anim->animbuf
anim->animlock = 1;
return !running;
}

View file

@ -41,7 +41,6 @@ typedef struct
uint16_t numsounds;
uint8_t framedelay;
uint8_t frameflags;
uint8_t animlock;
} dukeanim_t;
extern dukeanim_t * g_animPtr;

View file

@ -38,7 +38,6 @@ typedef struct
uint16_t numsounds;
uint8_t framedelay;
uint8_t frameflags;
uint8_t animlock;
} dukeanim_t;
extern dukeanim_t * g_animPtr;