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