mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-25 21:00:46 +00:00
- Changed the return value of SetActivatorToTarget to match the description
in the wiki. SVN r1764 (trunk)
This commit is contained in:
parent
e49da9bba9
commit
ae21fa4562
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
||||||
August 7, 2009
|
August 8, 2009
|
||||||
|
- Changed the return value of SetActivatorToTarget to match the description
|
||||||
|
in the wiki.
|
||||||
|
|
||||||
|
August 7, 2009
|
||||||
- If SetActivatorToTarget is used for a player-run script, and the player is
|
- If SetActivatorToTarget is used for a player-run script, and the player is
|
||||||
alive, it now sets the activator to the actor the player is aiming at. I
|
alive, it now sets the activator to the actor the player is aiming at. I
|
||||||
also noticed that this looked like it was a quick copy'n'paste job from
|
also noticed that this looked like it was a quick copy'n'paste job from
|
||||||
|
|
|
@ -2951,8 +2951,9 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
|
||||||
if (actor != NULL)
|
if (actor != NULL)
|
||||||
{
|
{
|
||||||
activator = actor;
|
activator = actor;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
return activator != NULL;
|
return 0;
|
||||||
|
|
||||||
case ACSF_GetActorViewHeight:
|
case ACSF_GetActorViewHeight:
|
||||||
actor = SingleActorFromTID(args[0], NULL);
|
actor = SingleActorFromTID(args[0], NULL);
|
||||||
|
|
Loading…
Reference in a new issue