mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
ZVISION: Add a destructor to Puzzle
This commit is contained in:
parent
aba3ba634c
commit
ad5756fa31
@ -27,11 +27,17 @@
|
||||
#include "common/list.h"
|
||||
#include "common/ptr.h"
|
||||
|
||||
#include "zvision/actions.h"
|
||||
|
||||
namespace ZVision {
|
||||
|
||||
class ResultAction;
|
||||
|
||||
struct Puzzle {
|
||||
~Puzzle() {
|
||||
for (Common::List<ResultAction *>::iterator iter = resultActions.begin(); iter != resultActions.end(); iter++) {
|
||||
delete (*iter);
|
||||
}
|
||||
}
|
||||
|
||||
/** How criteria should be decided */
|
||||
enum CriteriaOperator {
|
||||
EQUAL_TO,
|
||||
|
Loading…
Reference in New Issue
Block a user