mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
[qfcc] Don't use v6p store for assinging to entity.field
Ruamoko has a native addressing mode just for entities.
This commit is contained in:
parent
10843fe340
commit
d61e906cb9
1 changed files with 2 additions and 1 deletions
|
@ -964,7 +964,8 @@ dereference_dst:
|
|||
return sblock;
|
||||
}
|
||||
|
||||
if (is_entity (dst->type) && ofs && is_field (ofs->type)) {
|
||||
if (options.code.progsversion < PROG_VERSION
|
||||
&& is_entity (dst->type) && ofs && is_field (ofs->type)) {
|
||||
// need to get a pointer type, entity.field expressions do not provide
|
||||
// one directly. FIXME it was probably a mistake extracting the operand
|
||||
// type from the statement expression in dags
|
||||
|
|
Loading…
Reference in a new issue