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/functionexit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/functionexit.cpp') diff --git a/src/functionexit.cpp b/src/functionexit.cpp index be64f43..5e0088c 100644 --- a/src/functionexit.cpp +++ b/src/functionexit.cpp @@ -13,5 +13,6 @@ FunctionExit::~FunctionExit() void FunctionExit::call( class GameState &gState ) { gState.exit(); + gState.push( Variable( Variable::tNull ) ); } -- cgit v1.2.3