From 07fe099b4e1fd877176f2b2947841ee82aa91ed0 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 19 Nov 2020 19:07:32 +0100 Subject: neo screen droplets --- src/control/GameLogic.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/control') diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index 98209c85..e7f7d525 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -29,6 +29,7 @@ #include "ColStore.h" #include "Automobile.h" #include "MBlur.h" +#include "screendroplets.h" uint8 CGameLogic::ActivePlayers; uint8 CGameLogic::ShortCutState; @@ -153,6 +154,9 @@ CGameLogic::Update() } } CEventList::Initialise(); +#ifdef SCREEN_DROPLETS + ScreenDroplets::Initialise(); +#endif CMessages::ClearMessages(); CCarCtrl::ClearInterestingVehicleList(); CWorld::ClearExcitingStuffFromArea(pPlayerInfo.GetPos(), 4000.0f, 1); @@ -259,6 +263,9 @@ CGameLogic::Update() } } CEventList::Initialise(); +#ifdef SCREEN_DROPLETS + ScreenDroplets::Initialise(); +#endif CMessages::ClearMessages(); CCarCtrl::ClearInterestingVehicleList(); CWorld::ClearExcitingStuffFromArea(pPlayerInfo.GetPos(), 4000.0f, 1); @@ -311,6 +318,9 @@ CGameLogic::Update() } } CEventList::Initialise(); +#ifdef SCREEN_DROPLETS + ScreenDroplets::Initialise(); +#endif CMessages::ClearMessages(); CCarCtrl::ClearInterestingVehicleList(); CWorld::ClearExcitingStuffFromArea(pPlayerInfo.GetPos(), 4000.0f, 1); -- cgit v1.2.3