diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-02-06 12:22:27 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-02-06 12:22:27 -0700 |
commit | 9de9d4e733ce872806c569334af4c9ace01db203 (patch) | |
tree | cd401af5f0e158807238d6f9215f16a2c202b3dc /src/functiondelete.cpp | |
parent | 315dd7104f02a278b9ade41345060ed5f6825fbb (diff) | |
download | stage-8641500961e6b6128e3a0d5f142a5e9f0af759bc.tar.gz stage-8641500961e6b6128e3a0d5f142a5e9f0af759bc.tar.bz2 stage-8641500961e6b6128e3a0d5f142a5e9f0af759bc.tar.xz stage-8641500961e6b6128e3a0d5f142a5e9f0af759bc.zip |
Important bugfix in stack code. Thanks david!0.04
Diffstat (limited to 'src/functiondelete.cpp')
-rw-r--r-- | src/functiondelete.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) | |||
15 | Variable v = gState.pop(); | 15 | Variable v = gState.pop(); |
16 | VariableRef r = v.getVariableRef(); | 16 | VariableRef r = v.getVariableRef(); |
17 | gState.delVariable( r.sName, r.sid ); | 17 | gState.delVariable( r.sName, r.sid ); |
18 | gState.push( Variable( Variable::tNull ) ); | ||
18 | } | 19 | } |
19 | 20 | ||