- Changed the return value of SetActivatorToTarget to match the description

in the wiki.


SVN r1764 (trunk)
This commit is contained in:
Randy Heit 2009-08-08 22:52:58 +00:00
commit ae21fa4562
2 changed files with 7 additions and 2 deletions

View file

@ -2951,8 +2951,9 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
if (actor != NULL)
{
activator = actor;
return 1;
}
return activator != NULL;
return 0;
case ACSF_GetActorViewHeight:
actor = SingleActorFromTID(args[0], NULL);