From 9de9d4e733ce872806c569334af4c9ace01db203 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 6 Feb 2012 12:22:27 -0700 Subject: Important bugfix in stack code. Thanks david! --- src/functiondisplay.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/functiondisplay.cpp') diff --git a/src/functiondisplay.cpp b/src/functiondisplay.cpp index 2f2209c..21941c0 100644 --- a/src/functiondisplay.cpp +++ b/src/functiondisplay.cpp @@ -22,6 +22,7 @@ void FunctionDisplay::call( class GameState &gState ) gState.getInterface()->display( pNode ); delete pNode; + gState.push( Variable( Variable::tNull ) ); /* Variable v = gState.popDeref(); sio << "Display: " << v << sio.nl; -- cgit v1.2.3