mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
fixed evil bug (deleting too much)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@64 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -304,7 +304,7 @@ ScriptValueP Context::dependencies(const Dependency& dep, const Script& script)
|
||||
if (scope) closeScope(scope); // restore scope
|
||||
stack.resize(stack_size); // restore stack
|
||||
// delete jump records
|
||||
while(jumps.empty()) {
|
||||
while (!jumps.empty()) {
|
||||
delete jumps.top();
|
||||
jumps.pop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user