From 5a00f4b59a71894e572e56dde9085b3a1e154842 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 4 Jun 2013 02:54:57 +0000 Subject: [PATCH] - Reduce ACS LineAttack's default range to the standard MISSILERANGE, because making it INT_MAX seems pretty iffy. SVN r4329 (trunk) --- src/p_acs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 6237fedbe..5d3961ac7 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -4947,7 +4947,7 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args, const int damage = args[3]; FName pufftype = argCount > 4 && args[4]? FName(FBehavior::StaticLookupString(args[4])) : NAME_BulletPuff; FName damagetype = argCount > 5 && args[5]? FName(FBehavior::StaticLookupString(args[5])) : NAME_None; - fixed_t range = argCount > 6 && args[6]? args[6] : 0x7FFFFFFF; + fixed_t range = argCount > 6 && args[6]? args[6] : MISSILERANGE; if (args[0] == 0) {