diff options
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 | ||
