GRIFFON: cleanup

This commit is contained in:
Eugene Sandulenko 2019-11-07 00:36:26 +01:00
parent 356e4014a7
commit 4f98377ee0

View File

@ -665,23 +665,8 @@ void GriffonEngine::drawNPCs(int mode) {
rcDest.top = rcDest.top + (int)(RND() * 3) - 1;
}
_anims[sprite]->blit(*_videoBuffer, rcDest.left, rcDest.top, Graphics::FLIP_NONE, &rcSrc);
// } else {
//cframe = _npcinfo[i].cattackframe;
//rcSrc.left = (int)(cframe / 4) * 24;
//rcSrc.top = wdir * 24;
//rcSrc.setWidth(24);
//rcSrc.setHeight(24);
//rcDest.left = npx;
//rcDest.top = npy;
//rcDest.setWidth(24);
//rcDest.setHeight(24);
// _animsa(sprite)->blit(*_videobuffer, rcDest.left, rcDest.top, Graphics::FLIP_NONE, &rcSrc);
// }
}
// yellow dragon
if (_npcInfo[i].spriteset == kMonsterYellowDragon) {
int cframe = _npcInfo[i].cframe;