aboutsummaryrefslogtreecommitdiff
path: root/src/core/sok.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/sok.h')
-rw-r--r--src/core/sok.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/sok.h b/src/core/sok.h
index 92fb4e7..d24d22b 100644
--- a/src/core/sok.h
+++ b/src/core/sok.h
@@ -132,7 +132,7 @@ typedef struct {
size_t num_goals_left;
// are there boxes in corners?
- // _Bool is_lost;
+ _Bool is_lost;
// player position
sok_pos_t home;
@@ -149,7 +149,7 @@ void sok_ctx_init(sok_ctx_t * const ctx, void *user_data);
_Bool sok_ctx_set_level(sok_ctx_t * const ctx, const char * const level);
_Bool sok_ctx_is_done(const sok_ctx_t * const);
-// _Bool sok_ctx_is_lost(const sok_ctx_t * const);
+_Bool sok_ctx_is_lost(const sok_ctx_t * const);
_Bool sok_ctx_move(sok_ctx_t * const, const sok_dir_t);
_Bool sok_ctx_undo(sok_ctx_t * const);