1
0
Fork 0
forked from fte/fteqw

Fix up silly warnings in fteqcc's decompiler.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6030 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-08-20 20:56:24 +00:00
parent 8830baabd2
commit f9533ee8fc

View file

@ -1978,7 +1978,7 @@ void DecompileDecompileStatement(dfunction_t * df, dstatement_t * s, int *indent
}
}
else if (pr_opcodes[s->op].flags & OPF_STOREPTR)
else if (pr_opcodes[s->op].flags & (OPF_STOREPTR|OPF_STOREPTROFS))
{
arg1 = DecompileGet(df, s->a, typ2);
//FIXME: we need to deal with ref types and other crazyness, so we know whether we need to add * or *& or if we can skip that completely