diff options
Diffstat (limited to 'src/thundercloud.cpp')
-rwxr-xr-x | src/thundercloud.cpp | 2 |
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 ); |