Skip to content

Commit

Permalink
Merge pull request #84 from jetelain/fix-player-icon
Browse files Browse the repository at this point in the history
Player was not drawn on Tablet/Android depending on settings
  • Loading branch information
jetelain authored Jan 18, 2025
2 parents 9bbc6da + 1029ba8 commit c102306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @cTab/addons/core/functions/fnc_onDrawbft.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _veh = vehicle cTab_player;
_playerPos = getPosASL _veh;

// draw directional arrow at own location
if (_playerDrawn) then {
if (_drawPlayer) then {
_heading = direction _veh;
_cntrlScreen drawIcon ["\A3\ui_f\data\map\VehicleIcons\iconmanvirtual_ca.paa",cTabMicroDAGRfontColour,_playerPos,cTabTADownIconBaseSize,cTabTADownIconBaseSize,_heading,"", 1,cTabTxtSize,"TahomaB","right"];
};
Expand Down
2 changes: 1 addition & 1 deletion @cTab/addons/core/functions/fnc_onDrawbftAndroid.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ _veh = vehicle cTab_player;
_playerPos = getPosASL _veh;

// draw directional arrow at own location
if (_playerDrawn) then {
if (_drawPlayer) then {
_heading = direction _veh;
_cntrlScreen drawIcon ["\A3\ui_f\data\map\VehicleIcons\iconmanvirtual_ca.paa",cTabMicroDAGRfontColour,_playerPos,cTabTADownIconBaseSize,cTabTADownIconBaseSize,_heading,"", 1,cTabTxtSize,"TahomaB","right"];
};
Expand Down

0 comments on commit c102306

Please sign in to comment.