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/functiondelete.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/functiondelete.cpp') diff --git a/src/functiondelete.cpp b/src/functiondelete.cpp index c9bfef4..070ffd4 100644 --- a/src/functiondelete.cpp +++ b/src/functiondelete.cpp @@ -15,5 +15,6 @@ void FunctionDelete::call( class GameState &gState ) Variable v = gState.pop(); VariableRef r = v.getVariableRef(); gState.delVariable( r.sName, r.sid ); + gState.push( Variable( Variable::tNull ) ); } -- cgit v1.2.3