From 97974d849e864c215c105db6b9370c7c3a7ebd21 Mon Sep 17 00:00:00 2001 From: "Laurent Alonso(fr)" Date: Fri, 12 Jun 2020 19:58:36 +0200 Subject: [PATCH] scenario[legacy]: do not nuke all monsters if particuliar type==0... --- src/scenario/special.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scenario/special.cpp b/src/scenario/special.cpp index 772a7199..365840b1 100644 --- a/src/scenario/special.cpp +++ b/src/scenario/special.cpp @@ -358,6 +358,8 @@ void cSpecial::import_legacy(legacy::special_node_type& old){ break; case 182: // Destroy all monsters of particular type type = eSpecType::TOWN_NUKE_MONSTS; + if (ex1a>=-2 && ex1a<=0) // FIXME: if ex1a:type==0, we do not want to remove all monsters + ex1a=-3; break; case 183: // Destroy all monsters, or all friendly / all hostile type = eSpecType::TOWN_NUKE_MONSTS;