mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
SVN r518 (trunk)
This commit is contained in:
parent
9deec29b34
commit
8e229fa2b6
2 changed files with 3 additions and 1 deletions
|
@ -4999,7 +4999,7 @@ int DLevelScript::RunScript ()
|
|||
|
||||
while ( (actor = iterator.Next ()) )
|
||||
{
|
||||
state = RUNTIME_TYPE(activator)->ActorInfo->FindState (statelist.Size(), &statelist[0], !!STACK(1));
|
||||
state = RUNTIME_TYPE(actor)->ActorInfo->FindState (statelist.Size(), &statelist[0], !!STACK(1));
|
||||
if (state != NULL)
|
||||
{
|
||||
actor->SetState (state);
|
||||
|
|
|
@ -1426,6 +1426,7 @@ FUNC(LS_Thing_Stop)
|
|||
if (it != NULL)
|
||||
{
|
||||
it->momx = it->momy = it->momz = 0;
|
||||
if (it->player != NULL) it->player->momx = it->player->momy = 0;
|
||||
ok = true;
|
||||
}
|
||||
}
|
||||
|
@ -1436,6 +1437,7 @@ FUNC(LS_Thing_Stop)
|
|||
while ( (target = iterator.Next ()) )
|
||||
{
|
||||
target->momx = target->momy = target->momz = 0;
|
||||
if (target->player != NULL) target->player->momx = target->player->momy = 0;
|
||||
ok = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue