Show script stacktraces when GameCallEx causes a script error

liquid_container
Günther Brammer 2015-12-30 22:24:31 +01:00
parent 2ebd1a98ad
commit 593e0319fd
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ C4Value C4GameObjects::GRBroadcast(const char *szFunction, C4AulParSet *pPars, b
for (C4Object *pObj : *this)
if (pObj && (pObj->Category & (C4D_Goal | C4D_Rule | C4D_Environment)) && pObj->Status)
{
C4Value vResult = pObj->Call(szFunction, pPars/*, fPassError*/);
C4Value vResult = pObj->Call(szFunction, pPars, fPassError);
// rejection tests abort on first nonzero result
if (fRejectTest && !!vResult) return vResult;
}