summaryrefslogtreecommitdiff
path: root/src/thundercloud.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/thundercloud.cpp')
-rwxr-xr-xsrc/thundercloud.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thundercloud.cpp b/src/thundercloud.cpp
index 116d076..154a719 100755
--- a/src/thundercloud.cpp
+++ b/src/thundercloud.cpp
@@ -152,6 +152,8 @@ void dThunderCloud::powBlockActivated(bool isNotMPGP) { }
//extern "C" __destroy_arr(struct DoSomethingCool, void(*)(void), int cnt, int bar);
bool dThunderCloud::CreateIceActors() {
+ this->Lightning.removeFromList();
+
struct DoSomethingCool my_struct = { 0, (Vec){pos.x, pos.y - 16.0, pos.z}, {1.75, 1.4, 1.5}, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
this->frzMgr.Create_ICEACTORs( (void*)&my_struct, 1 );
__destroy_arr( (void*)&my_struct, sub_80024C20, 0x3C, 1 );