- Backend update from Raze.

* TArray extensions
* MSVC setup so that [[deprecated]] emits warnings.
This commit is contained in:
Christoph Oelckers 2021-11-12 09:36:19 +01:00
commit c598d9bab7
20 changed files with 348 additions and 29 deletions

View file

@ -572,7 +572,7 @@ void FMultipatchTextureBuilder::ParsePatch(FScanner &sc, BuildInfo &info, TexPar
else if (sc.Compare("alpha"))
{
sc.MustGetFloat();
part.Alpha = clamp<blend_t>(int(sc.Float * BLENDUNIT), 0, BLENDUNIT);
part.Alpha = clamp<blend_t>(int(sc.Float * +BLENDUNIT), 0, BLENDUNIT);
// bComplex is not set because it is only needed when the style is not OP_COPY.
}
else if (sc.Compare("style"))