diff --git a/polymer/eduke32/build/src/defs.c b/polymer/eduke32/build/src/defs.c index 7ff2f6bba..414be6d06 100644 --- a/polymer/eduke32/build/src/defs.c +++ b/polymer/eduke32/build/src/defs.c @@ -2655,7 +2655,7 @@ static int32_t defsparser(scriptfile *script) static const tokenlist subtokens[] = { { "horizfrac", T_HORIZFRAC }, - // XXX: yoffs? + { "yoffset", T_YOFFSET }, { "lognumtiles", T_LOGNUMTILES }, { "tile", T_TILE }, { "panel", T_TILE }, @@ -2687,6 +2687,14 @@ static int32_t defsparser(scriptfile *script) newpsky->horizfrac = horizfrac; break; } + case T_YOFFSET: + { + int32_t yoffset; + scriptfile_getsymbol(script,&yoffset); + + newpsky->yoffs = yoffset; + break; + } case T_LOGNUMTILES: { int32_t lognumtiles;