libs: update angelscript to 2.32.0
Fixes: https://github.com/supertuxkart/stk-code/issues/2528 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
AngelCode Scripting Library
|
||||
Copyright (c) 2003-2012 Andreas Jonsson
|
||||
Copyright (c) 2003-2015 Andreas Jonsson
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any
|
||||
@@ -60,13 +60,13 @@ void asCScriptNode::Destroy(asCScriptEngine *engine)
|
||||
{
|
||||
// Destroy all children
|
||||
asCScriptNode *node = firstChild;
|
||||
asCScriptNode *next;
|
||||
asCScriptNode *nxt;
|
||||
|
||||
while( node )
|
||||
{
|
||||
next = node->next;
|
||||
nxt = node->next;
|
||||
node->Destroy(engine);
|
||||
node = next;
|
||||
node = nxt;
|
||||
}
|
||||
|
||||
// Return the memory to the memory manager
|
||||
|
||||
Reference in New Issue
Block a user