Map - Don't move map when player is dead (#5843)

Close #5830
This commit is contained in:
PabstMirror 2017-12-02 11:57:36 -06:00 committed by GitHub
parent 726ef4ad0d
commit a00457ccff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ if (GVAR(mapShake)) then {
// Only shake map while moving on foot
private _speed = 0;
if (vehicle ACE_player == ACE_player) then {
if ((alive ACE_player) && {vehicle ACE_player == ACE_player}) then {
_speed = vectorMagnitude (velocity ACE_player);
};