2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-02 23:17:26 +00:00

Ensure correct expression type for static expressions in menu parsing but do not enforce when permissive

This commit is contained in:
Jan
2023-08-24 20:12:57 +02:00
parent aea76d0b42
commit 4829a4206b
6 changed files with 114 additions and 39 deletions

View File

@@ -751,7 +751,8 @@ namespace IW4
continue;
}
assert(false);
// Do not consider this a mistake since the games menus do this by mistake and it should be able to compile them anyway
// But the game should also not know what to do with this i guess
expressionIsStatic = false;
}

View File

@@ -753,7 +753,8 @@ namespace IW5
continue;
}
assert(false);
// Do not consider this a mistake since the games menus do this by mistake and it should be able to compile them anyway
// But the game should also not know what to do with this i guess
expressionIsStatic = false;
}