This commit is contained in:
Paul 2001-04-19 20:46:43 +00:00
parent 33861a342e
commit 13bbe59b16
15 changed files with 74 additions and 21 deletions

View file

@ -29,6 +29,10 @@
#include "player\player.h"
#endif
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
/* Std Lib
------- */
@ -126,7 +130,7 @@ void CBaseHealthPickup::renderPickup(DVECTOR *_pos)
sprites=getSpriteBank();
fh=sprites->getFrameHeader(getFrameNumber());
angle=((msin(m_sin)*health_rotatescale)>>12)&4095;
sprites->printRotatedScaledSprite(fh,_pos->vx,_pos->vy,4096,4096,angle,PICKUPS_OT_POS);
sprites->printRotatedScaledSprite(fh,_pos->vx,_pos->vy,4096,4096,angle,OTPOS__PICKUP_POS);
}