fixes #1195 units do not display injuries

Is caused because the system thinks medical is disabled for basic units, while this obviously is not the case.
This commit is contained in:
Glowbal 2015-05-16 12:20:01 +02:00 committed by KoffeinFlummi
parent 104fcdc589
commit 808bb6d048

View File

@ -15,7 +15,7 @@ _unit = _this select 0;
_medicalEnabled = _unit getvariable QGVAR(enableMedical);
if (isnil "_medicalEnabled") exitwith {
(((GVAR(enableFor) == 0 && (isPlayer _unit || (_unit getvariable [QEGVAR(common,isDeadPlayer), false])))) || (GVAR(enableFor) == 1));
(((GVAR(enableFor) == 0 && (isPlayer _unit || (_unit getvariable [QEGVAR(common,isDeadPlayer), false])))) || (GVAR(enableFor) == 1) || GVAR(level) == 1);
};
_medicalEnabled;