mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed: ClearActorInventory used the wrong stack index to get its parameter.
SVN r2239 (trunk)
This commit is contained in:
parent
4c5edf00b0
commit
039b64899d
1 changed files with 2 additions and 2 deletions
|
@ -5365,13 +5365,13 @@ int DLevelScript::RunScript ()
|
|||
break;
|
||||
|
||||
case PCD_CLEARACTORINVENTORY:
|
||||
if (STACK(3) == 0)
|
||||
if (STACK(1) == 0)
|
||||
{
|
||||
ClearInventory(NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
FActorIterator it(STACK(3));
|
||||
FActorIterator it(STACK(1));
|
||||
AActor *actor;
|
||||
for (actor = it.Next(); actor != NULL; actor = it.Next())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue