From 72f1a37ec4211c1a7aadb22d6c4dbf043cd17e54 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Tue, 3 Jul 2012 20:17:31 +0000 Subject: [PATCH] - Fixed: ACS function pointer instructions need to call GetFunction on the tagged module instead of the active behavior. SVN r3732 (trunk) --- src/p_acs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 7fe6bbb1a4..0352be07e4 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -4272,7 +4272,7 @@ int DLevelScript::RunScript () module = activeBehavior; funcnum = NEXTBYTE; } - func = activeBehavior->GetFunction (funcnum, module); + func = module->GetFunction (funcnum, module); if (func == NULL) {