From 0d3bf15601ab2a45464c72ec115673f7833acdc5 Mon Sep 17 00:00:00 2001 From: Siddharth singh chouhan <63919605+Sid672@users.noreply.github.com> Date: Fri, 10 Sep 2021 15:48:47 +0530 Subject: [PATCH] Move docs to header --- Source/setmaps.cpp | 3 --- Source/setmaps.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/setmaps.cpp b/Source/setmaps.cpp index 658dc4988..4d3107889 100644 --- a/Source/setmaps.cpp +++ b/Source/setmaps.cpp @@ -147,9 +147,6 @@ Object &ObjectAtPosition(Point position) app_fatal("ObjectAtPosition: Active object not found at (%i,%i)", position.x, position.y); } -/** - * @brief Load a quest map, the given map is specified via the global setlvlnum - */ void LoadSetMap() { switch (setlvlnum) { diff --git a/Source/setmaps.h b/Source/setmaps.h index 13f43ad80..9e1dedd9f 100644 --- a/Source/setmaps.h +++ b/Source/setmaps.h @@ -18,6 +18,10 @@ namespace devilution { * @return A reference to the object */ Object &ObjectAtPosition(Point position); + +/** + * @brief Load a quest map, the given map is specified via the global setlvlnum + */ void LoadSetMap(); /* rdata */