This commit is contained in:
Steve 2015-11-16 16:25:08 +00:00
parent 5aa8e0280e
commit 91a2cda540
2 changed files with 4 additions and 4 deletions

View File

@ -224,7 +224,7 @@ static void huntTarget(Bullet *b)
applyMissileThrust(b);
if (b->target == player && battle.ecmTimer == ECM_RECHARGE_TIME)
if (b->target == player && battle.ecmTimer < FPS)
{
b->life = 0;
addMissileExplosion(b);

View File

@ -24,9 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../structs.h"
#include "../json/cJSON.h"
#define TURN_SPEED 2
#define TURN_THRESHOLD 3
#define MAX_BULLETS_TO_DRAW 512
#define TURN_SPEED 2
#define TURN_THRESHOLD 3
#define MAX_BULLETS_TO_DRAW 512
extern SDL_Texture *getTexture(char *filename);
extern void blitRotated(SDL_Texture *texture, int x, int y, int angle);