From c482ec0c0f437870cd3c343e1364f869521b051d Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 12 Jun 2001 20:40:08 +0000 Subject: [PATCH] --- source/enemy/nfdutch.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/enemy/nfdutch.cpp b/source/enemy/nfdutch.cpp index 9ce10510f..537b0c4db 100644 --- a/source/enemy/nfdutch.cpp +++ b/source/enemy/nfdutch.cpp @@ -39,6 +39,10 @@ #include #endif +#ifndef __SPR_SPRITES_H__ +#include +#endif + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -177,7 +181,10 @@ void CNpcFlyingDutchmanEnemy::processClose( int _frames ) CProjectile *projectile; projectile = new( "test projectile" ) CProjectile; - projectile->init( Pos, heading ); + DVECTOR newPos = Pos; + newPos.vy -= 50; + projectile->init( newPos, heading ); + projectile->setGraphic( FRM__LIGHTNING2 ); m_controlFunc = NPC_CONTROL_MOVEMENT; m_movementTimer = GameState::getOneSecondInFrames() * 3;