From c6651145a4a6e6611b585c1a87c127f38751db4b Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 10 Jan 2017 20:29:08 -0500 Subject: fixes, bug finds --- include/weather.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/weather.hpp') diff --git a/include/weather.hpp b/include/weather.hpp index f2f5fed..0820871 100644 --- a/include/weather.hpp +++ b/include/weather.hpp @@ -50,15 +50,15 @@ public: offset.y + game::SCREEN_HEIGHT / 2 + 100), ParticleType::Drop, 3000, 3); } - break; // TODO + break; case Weather::Snowy: - if (newPartDelay++ == 4) { + if (newPartDelay++ == 6) { newPartDelay = 0; - partSystem.add(vec2(offset.x - game::SCREEN_WIDTH / 2 + randGet() % game::SCREEN_WIDTH, - offset.y + game::SCREEN_HEIGHT / 2 + 100), + partSystem.add(vec2(offset.x - game::SCREEN_WIDTH + randGet() % game::SCREEN_WIDTH * 2, + offset.y + game::SCREEN_HEIGHT / 2 + 50), ParticleType::Confetti, 6000, 0); } - break; // TODO + break; default: break; } -- cgit v1.2.3