--- a/gemrb/core/Map.h
+++ b/gemrb/core/Map.h
@@ -450,8 +450,8 @@
 	MapNote *GetMapNote(const Point &point);
 	unsigned int GetMapNoteCount() { return (unsigned int) mapnotes.size(); }
 	//restheader
-	/* May spawn creature(s), returns true in case of an interrupted rest */
-	bool Rest(const Point &pos, int hours, int day);
+	/* May spawn creature(s), returns the remaining number of (unrested) hours for interrupted rest */
+	int Rest(const Point &pos, int hours, int day);
 	/* Spawns creature(s) in radius of position */
 	void SpawnCreature(const Point &pos, const char *CreName, int radius = 0);