- 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
|
|
@ -1903,7 +1903,7 @@ void FParser::SF_FloorTexture(void)
|
|||
}
|
||||
|
||||
t_return.type = svt_string;
|
||||
FTexture * tex = TexMan[sector->GetTexture(sector_t::floor)];
|
||||
FTexture * tex = TexMan.GetTexture(sector->GetTexture(sector_t::floor));
|
||||
t_return.string = tex? tex->GetName() : "";
|
||||
}
|
||||
}
|
||||
|
|
@ -1993,7 +1993,7 @@ void FParser::SF_CeilingTexture(void)
|
|||
}
|
||||
|
||||
t_return.type = svt_string;
|
||||
FTexture * tex = TexMan[sector->GetTexture(sector_t::ceiling)];
|
||||
FTexture * tex = TexMan.GetTexture(sector->GetTexture(sector_t::ceiling));
|
||||
t_return.string = tex? tex->GetName() : "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue