aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/adrift/scgamest.cpp
diff options
context:
space:
mode:
authorD G Turner2019-09-30 05:50:44 +0100
committerD G Turner2019-09-30 05:50:44 +0100
commit944b63cdce27ee487ba0ee34de331f63531de6af (patch)
treeb73aaa4d4195e9eb80b79423bd32822bb74e99ea /engines/glk/adrift/scgamest.cpp
parent1e3576768c6ca898b4a99f70085ebde4623d58ca (diff)
downloadscummvm-rg350-944b63cdce27ee487ba0ee34de331f63531de6af.tar.gz
scummvm-rg350-944b63cdce27ee487ba0ee34de331f63531de6af.tar.bz2
scummvm-rg350-944b63cdce27ee487ba0ee34de331f63531de6af.zip
GLK: ADRIFT: Add const qualifier for some function call parameters
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;
}