- replaced the last access operator, too
Now everything uses a function. This really wasn't what operators are supposef to be used for.
This commit is contained in:
parent
42b18e6dfb
commit
9409843931
30 changed files with 71 additions and 79 deletions
|
|
@ -1515,7 +1515,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FTextureID &value, FTe
|
|||
}
|
||||
FTextureID chk = value;
|
||||
if (chk.GetIndex() >= TexMan.NumTextures()) chk.SetNull();
|
||||
FTexture *pic = TexMan[chk];
|
||||
FTexture *pic = TexMan.GetTexture(chk);
|
||||
const char *name;
|
||||
|
||||
if (Wads.GetLinkedTexture(pic->SourceLump) == pic)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue