From 3a4cd99001d6adb6b1925b3910c443d1e588a135 Mon Sep 17 00:00:00 2001 From: jonpas <jonpas33@gmail.com> Date: Tue, 9 Jun 2015 18:33:07 +0200 Subject: [PATCH] Changed setPos to setPosASL for reliability, Fixed module icon name --- addons/sitting/UI/Icons_Module_Sitting_ca.paa | Bin 5625 -> 0 bytes addons/sitting/functions/fnc_sit.sqf | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 addons/sitting/UI/Icons_Module_Sitting_ca.paa diff --git a/addons/sitting/UI/Icons_Module_Sitting_ca.paa b/addons/sitting/UI/Icons_Module_Sitting_ca.paa deleted file mode 100644 index 1d4bbccb700b9270cb115a1c7b48ce3202c14002..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5625 zcmd^De`p(Z6n~c{w%OV=x^@oZ)(krtV@h$s4OYl?WBq|Y8gSQjsI2RTFlE;Lv5Lsd zIfXe88@nGWv~~zLa4a$gje;9JnN~#&!$0OmU0a9H6_I5Pu^mnOeDAJzxm;~C*G`7} zCI|Pq@B97U_kF*2F084k+Ptx*p~?vWlarIrYPhlLDaJ^HaZS~e)r<wY7(Y{8T`$tT zOxFP~z<VVCM@j*HrR(1f5kvqlDbm?kA>Yjv>(X=w=0hHW=qRVZX&<;F{5SDD+fU-; z^4k3teGn<HYtO>Yx`=Zo{W<+7f^2`L%g@#)wr69T{{Rj@{SABU`g7rF`G#5t^BD3F z>g-q(Y0lf?Z`U_nes(_X^tmwF^RF|Q{_EyMtob5}S+LFi+n;~(pDZ%t2UJ|S@ND(3 z=RaE>r7TPSte696jSm%nZKmFNmWM@NgzA6B`0CVFdVVr9eeQg5y=3f}%Kwb|bIY^a zL-C(AKL7W5dpzzg%--@a>RU(ifu(3DG<a;m$m7lFu{ILleptwJK!NXriF26jLR{0C zXp#+eFn|}jB?-+3h$Tu94TAu2^sGQ5gN@FrKbe2~=PEzhaV!x^fN!iVt$MB^1{8<e zRg_<d*T3zWxP-W<Q+=f|l<_B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ILvfT)i+%p>P8r>5# zuwM?JULHHN+Q39#)>nU@Stg?TCRGY|Z(WV3?xDyvAJWSdoT7Trsn35z-5eefRa&za zdU~b}gMUNMUoWhwZlSzxjTbrr&ip`WjxD{280&WDdHhr4rhd&WOB;CX<JK2_F*<xR z|C#4Nh!>u`_%KxsF6jlway={-`T{5b5nyO_<MM|1ORpPdoDx@k_*UgE)2*dH#&$gv rt7%94vcG~O*F{`HB!)QNFOZo|`q5MIv+qyrK3Y_y6)mh>sayLu%DSLf diff --git a/addons/sitting/functions/fnc_sit.sqf b/addons/sitting/functions/fnc_sit.sqf index 32e1c45b40..4121813b41 100644 --- a/addons/sitting/functions/fnc_sit.sqf +++ b/addons/sitting/functions/fnc_sit.sqf @@ -34,7 +34,7 @@ _sitPosition = getArray (configFile >> "CfgVehicles" >> typeOf _seat >> QGVAR(si // Set direction and position _player setDir ((getDir _seat) + _sitDirection); -_player setPos (_seat modelToWorld _sitPosition); +_player setPosASL (_seat modelToWorld _sitPosition) call EFUNC(common,positionToASL); // Set variables _player setVariable [QGVAR(isSitting), true];