Commit fcbaecf6 authored by Fluorohydride's avatar Fluorohydride

Merge pull request #596 from mindcat/master

fix
parents 56908e1f 511ab361
...@@ -20,7 +20,7 @@ bool chain::chain_operation_sort(chain c1, chain c2) { ...@@ -20,7 +20,7 @@ bool chain::chain_operation_sort(chain c1, chain c2) {
return c1.triggering_effect->id < c2.triggering_effect->id; return c1.triggering_effect->id < c2.triggering_effect->id;
} }
bool tevent::operator< (const tevent& v) const { bool tevent::operator< (const tevent& v) const {
return std::memcmp(this, &v, sizeof(tevent)) < 0; return memcmp(this, &v, sizeof(tevent)) < 0;
} }
field::field(duel* pduel) { field::field(duel* pduel) {
this->pduel = pduel; this->pduel = pduel;
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#ifndef FIELD_H_ #ifndef FIELD_H_
#define FIELD_H_ #define FIELD_H_
#include "memory.h"
#include "common.h" #include "common.h"
#include "effectset.h" #include "effectset.h"
#include <vector> #include <vector>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment