mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
Tweaks to CommandRectAnimation's destructor.
This commit is contained in:
parent
be686f5db4
commit
90ae8d4791
@ -897,10 +897,13 @@ public:
|
||||
type = TYPE_RECT_ANIMATION;
|
||||
}
|
||||
|
||||
~CommandRectAnimation() {
|
||||
virtual ~CommandRectAnimation() {
|
||||
for (int i = 0; i < rects.size(); ++i) {
|
||||
memdelete(rects[i]);
|
||||
}
|
||||
|
||||
rects.clear();
|
||||
times.clear();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user