Added ifdef DYNAMIC_LOAD

This commit is contained in:
jsalmon3 2004-06-26 17:58:09 +00:00
parent 83152f3da0
commit a6f5494eed

View file

@ -619,9 +619,11 @@ static int MissileVisibleInViewport(const Viewport* vp, const Missile* missile)
*/ */
void DrawMissile(MissileType* mtype, int frame, int x, int y) void DrawMissile(MissileType* mtype, int frame, int x, int y)
{ {
#ifdef DYNAMIC_LOAD
if (!mtype->Sprite) { if (!mtype->Sprite) {
LoadMissileSprite(mtype); LoadMissileSprite(mtype);
} }
#endif
if (mtype->Flip) { if (mtype->Flip) {
if (frame < 0) { if (frame < 0) {