mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Exhumed: Fix null chunk access for spider.
This commit is contained in:
parent
d8441f712e
commit
4428ea5612
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ void AISpider::Tick(RunListEvent* ev)
|
|||
const auto& spiderSeq = getSequence(spp->nSeqFile, SpiderSeq[nAction].nSeqId);
|
||||
const auto& seqFrame = spiderSeq[spp->nFrame];
|
||||
|
||||
spp->spr.picnum = seqFrame.chunks[0].picnum;
|
||||
spp->spr.picnum = spp->nFrame < 9 ? seqFrame.chunks[0].picnum : -1;
|
||||
|
||||
playFrameSound(spp, seqFrame);
|
||||
|
||||
|
|
Loading…
Reference in a new issue