From b903da899eec0c8dcd42e1b26a1628fde2b520f6 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 17 Jan 2024 20:13:14 -0800 Subject: [PATCH] Objective text ACS: return false I think these are only supposed to return true if they suspend thread execution, but I'm not sure. --- src/acs/call-funcs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/acs/call-funcs.cpp b/src/acs/call-funcs.cpp index ac7fcd314..09e393a65 100644 --- a/src/acs/call-funcs.cpp +++ b/src/acs/call-funcs.cpp @@ -4005,7 +4005,7 @@ bool CallFunc_AddMessage(ACSVM::Thread *thread, const ACSVM::Word *argV, ACSVM:: K_AddMessage(map->getString(argV[0])->str, argV[1], argV[2]); - return true; + return false; } bool CallFunc_AddMessageForPlayer(ACSVM::Thread *thread, const ACSVM::Word *argV, ACSVM::Word argC) @@ -4021,14 +4021,14 @@ bool CallFunc_AddMessageForPlayer(ACSVM::Thread *thread, const ACSVM::Word *argV K_AddMessageForPlayer(info->mo->player, map->getString(argV[0])->str, argV[1], argV[2]); } - return true; + return false; } bool CallFunc_ClearPersistentMessages(ACSVM::Thread *thread, const ACSVM::Word *argV, ACSVM::Word argC) { K_ClearPersistentMessages(); - return true; + return false; } bool CallFunc_ClearPersistentMessageForPlayer(ACSVM::Thread *thread, const ACSVM::Word *argV, ACSVM::Word argC) @@ -4042,5 +4042,5 @@ bool CallFunc_ClearPersistentMessageForPlayer(ACSVM::Thread *thread, const ACSVM K_ClearPersistentMessageForPlayer(info->mo->player); } - return true; -} \ No newline at end of file + return false; +}