1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:15:31 +00:00

[Client] Don't print unilateral message about targets resisting spells

This commit is contained in:
David Cernat 2021-07-25 19:49:23 +02:00
parent eb50d3e497
commit 6baee12bc4

View file

@ -187,8 +187,17 @@ namespace MWMechanics
// Fully resisted, show message
if (target == getPlayer())
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicPCResisted}");
else if (castByPlayer)
MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
/*
Start of tes3mp change (major)
Don't display messages about whether the target has resisted the local player's spell or not,
because this client has no way of knowing here whether that has happened
*/
//else if (castByPlayer)
// MWBase::Environment::get().getWindowManager()->messageBox("#{sMagicTargetResisted}");
/*
End of tes3mp change (major)
*/
}
else
{