Use get_number for menu coordinates
This commit is contained in:
parent
1c4c734cfb
commit
3a98364bf8
1 changed files with 2 additions and 2 deletions
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue