From 039b64899d58a018931dbbef633eafb114644a06 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 22 Mar 2010 22:15:56 +0000 Subject: [PATCH] - Fixed: ClearActorInventory used the wrong stack index to get its parameter. SVN r2239 (trunk) --- src/p_acs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 846b699eb..5c681a4d2 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -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()) {