#84 - goggles option error

This commit is contained in:
PabstMirror 2015-01-22 16:58:11 -06:00
parent 47c3ad1e5e
commit 8a27a49d31

View File

@ -11,10 +11,13 @@
Returns:
Boolean - whether the camera is in external view or not.
If the "showInThirdPerson" option is checked, this will always return false.
Example:
call FUNC(ExternalCamera);
*/
#include "script_component.hpp"
if (GVAR(showInThirdPerson)) exitWith { false };
if ((missionNameSpace getVariable [QGVAR(showInThirdPerson), 0]) == 1) exitWith { false };
(cameraView == "External")