From 374d6aa3fc5e298ce7e17297b0827aeb01a532a4 Mon Sep 17 00:00:00 2001 From: Flugente Date: Wed, 13 Jun 2018 18:10:00 +0000 Subject: [PATCH] Fix: it was possible to set a merc on an intel assignment even though condition should have forbidden it git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8572 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Soldier Control.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tactical/Soldier Control.cpp b/Tactical/Soldier Control.cpp index ac2e3bce8..6b7825e65 100644 --- a/Tactical/Soldier Control.cpp +++ b/Tactical/Soldier Control.cpp @@ -17633,6 +17633,10 @@ BOOLEAN SOLDIERTYPE::CanUseSkill( INT8 iSkill, BOOLEAN fAPCheck, INT32 sGridNo ) } } } + else + { + canuse = FALSE; + } } break;