summaryrefslogtreecommitdiffstats
path: root/src/templates.h
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-06-12 00:57:49 +0200
committerGitHub <noreply@github.com>2019-06-12 00:57:49 +0200
commit0f402c97ea94c3980aa7aa0305a35db1a3f59c2b (patch)
tree1d9bb0ba737fcd4ba0189c72ecd651eddbe04ac4 /src/templates.h
parenttmp (diff)
parentadded animation system (with skin support for now) (diff)
downloadre3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.tar
re3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.tar.gz
re3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.tar.bz2
re3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.tar.lz
re3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.tar.xz
re3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.tar.zst
re3-0f402c97ea94c3980aa7aa0305a35db1a3f59c2b.zip
Diffstat (limited to 'src/templates.h')
-rw-r--r--src/templates.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/templates.h b/src/templates.h
index 75bfd26b..03e41a64 100644
--- a/src/templates.h
+++ b/src/templates.h
@@ -138,7 +138,10 @@ public:
while(n--)
freeHead.Insert(&links[n]);
}
- // Shutdown
+ void Shutdown(void){
+ delete[] links;
+ links = nil;
+ }
void Clear(void){
while(head.next != &tail)
Remove(head.next);