diff --git a/engines/glk/tads/tads2/debug.cpp b/engines/glk/tads/tads2/debug.cpp index 0cf73fc75b7..b641c3295ea 100644 --- a/engines/glk/tads/tads2/debug.cpp +++ b/engines/glk/tads/tads2/debug.cpp @@ -155,7 +155,7 @@ int dbgnam(dbgcxdef *ctx, char *outbuf, int typ, int val) { toksdef sym; - if (!ctx->dbgcxtab || !ctx->dbgcxtab->tokthhsh) + if (!ctx->dbgcxtab) { memcpy(outbuf, "", (size_t)17); return(17);