Skip to content

Commit

Permalink
DIRECTOR: LINGO: Drop stack in stubbed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
djsrv committed Jul 7, 2020
1 parent 6b8aba1 commit f1fdd40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engines/director/lingo/lingo-object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,22 +319,27 @@ void LM::m_respondsTo(int nargs) {

void LM::m_close(int nargs) {
g_lingo->printSTUBWithArglist("m_close", nargs);
g_lingo->dropStack(nargs);
}

void LM::m_forget(int nargs) {
g_lingo->printSTUBWithArglist("m_forget", nargs);
g_lingo->dropStack(nargs);
}

void LM::m_open(int nargs) {
g_lingo->printSTUBWithArglist("m_open", nargs);
g_lingo->dropStack(nargs);
}

void LM::m_moveToBack(int nargs) {
g_lingo->printSTUBWithArglist("m_moveToBack", nargs);
g_lingo->dropStack(nargs);
}

void LM::m_moveToFront(int nargs) {
g_lingo->printSTUBWithArglist("m_moveToFront", nargs);
g_lingo->dropStack(nargs);
}

} // End of namespace Director

0 comments on commit f1fdd40

Please sign in to comment.