1
0
Fork 0
forked from fte/fteqw

Fix issue with ktx's parsing of certain entities.

This commit is contained in:
Shpoike 2024-06-11 03:14:13 +01:00
parent 5685376732
commit 6c795f62ab

View file

@ -802,7 +802,7 @@ static qintptr_t QVM_GetEntityToken (void *offset, quintptr_t mask, const qintpt
char *ret = VM_POINTER(arg[0]); char *ret = VM_POINTER(arg[0]);
q1qvmentstring = COM_Parse(q1qvmentstring); q1qvmentstring = COM_Parse(q1qvmentstring);
Q_strncpyz(ret, com_token, VM_LONG(arg[1])); Q_strncpyz(ret, com_token, VM_LONG(arg[1]));
return *com_token != 0; return q1qvmentstring != NULL;
} }
else else
{ {