- fixed compilation.

Much of this commit will have to be undone later, once the texture manager becomes available.
This commit is contained in:
Christoph Oelckers 2020-05-23 15:18:10 +02:00
parent c0217c9152
commit daf77e55f7
9 changed files with 22 additions and 4 deletions

View file

@ -1848,8 +1848,10 @@ static void DoCast(const VMRegisters &reg, const VMFrame *f, int a, int b, int c
case CAST_TID2S:
{
ASSERTS(a); ASSERTD(b);
#if 0
auto tex = TexMan.GetTexture(*(FTextureID*)&(reg.d[b]));
reg.s[a] = tex == nullptr ? "(null)" : tex->GetName().GetChars();
#endif
break;
}