summaryrefslogtreecommitdiff
path: root/src/resources/map/location.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/location.h')
-rw-r--r--src/resources/map/location.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/resources/map/location.h b/src/resources/map/location.h
index c598c98f4..44d2619a7 100644
--- a/src/resources/map/location.h
+++ b/src/resources/map/location.h
@@ -35,10 +35,16 @@ struct Location final
/**
* Constructor.
*/
- Location(const int px, const int py, MetaTile *const ptile) :
- x(px), y(py), tile(ptile)
+ Location(const int px,
+ const int py,
+ MetaTile *const ptile) :
+ x(px),
+ y(py),
+ tile(ptile)
{}
+ A_DEFAULT_COPY(Location)
+
/**
* Comparison operator.
*/