From 24476657f6dd7d2545b5421bc5aad4a9110fd175 Mon Sep 17 00:00:00 2001 From: Flugente Date: Mon, 17 Jun 2013 21:57:34 +0000 Subject: [PATCH] switch order of arguments to make function faster git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6138 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/opplist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tactical/opplist.cpp b/Tactical/opplist.cpp index bec373655..6e3a75ab0 100644 --- a/Tactical/opplist.cpp +++ b/Tactical/opplist.cpp @@ -7647,7 +7647,7 @@ void MakeBloodcatsHostile( void ) BOOLEAN SoldierHasLimitedVision(SOLDIERTYPE * pSoldier) { - if ( GetPercentTunnelVision(pSoldier) > 0 || ( gGameExternalOptions.gfAllowLimitedVision ) ) + if ( gGameExternalOptions.gfAllowLimitedVision || GetPercentTunnelVision(pSoldier) > 0 ) return TRUE; else return FALSE;