Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion neverwinter/nwscript/native/scriptcompfinalcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5446,7 +5446,7 @@ int32_t CScriptCompiler::PostVisitGenerateCode(CScriptParseTreeNode *pNode)
// Write the MODIFY_STACK_POINTER instruction to modify the stack.

pNode->nIntegerData = (m_nFunctionImpAbortStackPointer - m_nStackCurrentDepth) * 4;
//m_nStackCurrentDepth = m_nFunctionImpAbortStackPointer;
m_nStackCurrentDepth = m_nFunctionImpAbortStackPointer;

if (pNode->nIntegerData != 0)
{
Expand Down