- Reduce ACS LineAttack's default range to the standard MISSILERANGE, because making it INT_MAX

seems pretty iffy.

SVN r4329 (trunk)
This commit is contained in:
Randy Heit 2013-06-04 02:54:57 +00:00
parent e2be8b9e7e
commit 5a00f4b59a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{