summaryrefslogtreecommitdiff
path: root/game/objectives
diff options
context:
space:
mode:
Diffstat (limited to 'game/objectives')
-rw-r--r--game/objectives/freeroam.h5
-rw-r--r--game/objectives/goto.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/game/objectives/freeroam.h b/game/objectives/freeroam.h
index 2cfdcfc..ef74eb7 100644
--- a/game/objectives/freeroam.h
+++ b/game/objectives/freeroam.h
@@ -1,5 +1,4 @@
-#ifndef FREEROAM_H
-#define FREEROAM_H
+#pragma once
#include <game/activity.h>
#include <game/network/link.h>
@@ -12,5 +11,3 @@ public:
[[nodiscard]] ActivityPtr createActivity() const override;
[[nodiscard]] Link::Next navigate(Link::Nexts::const_iterator, Link::Nexts::const_iterator) const override;
};
-
-#endif
diff --git a/game/objectives/goto.h b/game/objectives/goto.h
index 01e47ae..acd5e48 100644
--- a/game/objectives/goto.h
+++ b/game/objectives/goto.h
@@ -1,5 +1,4 @@
-#ifndef GOTO_H
-#define GOTO_H
+#pragma once
#include <game/activity.h>
#include <game/network/link.h>
@@ -18,5 +17,3 @@ private:
Link::Nexts links;
float startDist;
};
-
-#endif