aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/adrift/scgamest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/adrift/scgamest.cpp')
-rw-r--r--engines/glk/adrift/scgamest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/adrift/scgamest.cpp b/engines/glk/adrift/scgamest.cpp
index ab92b413de..b928258dfe 100644
--- a/engines/glk/adrift/scgamest.cpp
+++ b/engines/glk/adrift/scgamest.cpp
@@ -793,7 +793,7 @@ sc_gameref_t gs_create(sc_var_setref_t vars, sc_prop_setref_t bundle, sc_filterr
*
* Return TRUE if pointer is a valid game, FALSE otherwise.
*/
-sc_bool gs_is_game_valid(sc_gameref_t game) {
+sc_bool gs_is_game_valid(const sc_gameref_t game) {
return game && game->magic == GAME_MAGIC;
}