mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- removed unused animlock variable.
This commit is contained in:
parent
ca789dc4d0
commit
215a7cdff3
3 changed files with 2 additions and 6 deletions
|
@ -438,8 +438,7 @@ int32_t Anim_Play(const char *fn)
|
|||
goto end_anim;
|
||||
}
|
||||
|
||||
anim->animlock = 255;
|
||||
anim->animbuf = buffer.Data();
|
||||
anim->animbuf = buffer.Data();
|
||||
|
||||
kread(handle, anim->animbuf, length);
|
||||
kclose(handle);
|
||||
|
@ -576,8 +575,7 @@ end_anim:
|
|||
tileDelete(TILE_ANIM);
|
||||
|
||||
// this is the lock for anim->animbuf
|
||||
anim->animlock = 1;
|
||||
|
||||
|
||||
return !running;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue