mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
This fixes a small oversight with r7238
git-svn-id: https://svn.eduke32.com/eduke32@7247 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f40026a0be
commit
41c33af8e0
1 changed files with 2 additions and 1 deletions
|
@ -1263,7 +1263,8 @@ static void C_GetNextVarType(int32_t type)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (*textptr == ']' || *textptr == '.')
|
||||
// allow "[]" or "." but not "[."
|
||||
if (*textptr == ']' || (*textptr == '.' && textptr[-1] != '['))
|
||||
{
|
||||
scriptWriteValue(g_thisActorVarID);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue