diff --git a/src/deh_soc.c b/src/deh_soc.c index f9513f26c..cfd80b952 100644 --- a/src/deh_soc.c +++ b/src/deh_soc.c @@ -2295,11 +2295,11 @@ void readmenu(MYFILE *f, INT32 num) } else if (fastcmp(word, "X")) { - menudef->x = value; + menudef->x = get_number(word2); } else if (fastcmp(word, "Y")) { - menudef->y = value; + menudef->y = get_number(word2); } else if (fastcmp(word, "SCROLLHEIGHT")) {