diff --git a/saga/script.h b/saga/script.h index d947bf45c90..722052e32cf 100644 --- a/saga/script.h +++ b/saga/script.h @@ -302,7 +302,7 @@ public: int16 pop() { if (_stackTopIndex >= _stackSize) { - error("ScriptThread::push() stack underflow"); + error("ScriptThread::pop() stack underflow"); } return (int16)_stackBuf[_stackTopIndex++]; }