From 060ddd25ef18a6289d01283bc76bc4da90bf2a39 Mon Sep 17 00:00:00 2001 From: aleksav013 Date: Sun, 6 Jun 2021 01:45:47 +0200 Subject: Adding powerup content; Fixing dt bug --- src/includes/Enemy1.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/includes/Enemy1.hpp') diff --git a/src/includes/Enemy1.hpp b/src/includes/Enemy1.hpp index 0405365..9c7f7f3 100644 --- a/src/includes/Enemy1.hpp +++ b/src/includes/Enemy1.hpp @@ -5,7 +5,7 @@ class Enemy1:public Entity { private: - float vx,vy; + float vx=0,vy=0; public: static float time; Enemy1():Entity() {} -- cgit v1.2.3