Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed mi8 heli crash zone not being created #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions 4_world/entities/building/wrecks/wreck_mi8.c
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/*
This modded Mi8 wreck class declaration causes conflicts with the CFDZPlugin mod, so it is disabled.
There is a task opened at https://feedback.bistudio.com/T156813 regarding this issue in February 2021. No solution from Bohemia so far.
*/

/*
class Wreck_Mi8 extends House {
modded class Wreck_Mi8_Crashed {

protected autoptr PVEZ_Zone pvez_Zone;

void Wreck_Mi8() {
void Wreck_Mi8_Crashed() {
GetGame().GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(CreatePVEZZone, 500, false, this);
}

override void EEDelete(EntityAI parent) {
// Remove zone if PVEZ zones manager is still alive
if (g_Game && g_Game.pvez_Zones) {
Expand All @@ -30,5 +24,4 @@ class Wreck_Mi8 extends House {
g_Game.pvez_Config.HELICRASH_ZONES.ShowBorderOnMap,
g_Game.pvez_Config.HELICRASH_ZONES.ShowNameOnMap);
}
}
*/
}