- Backend update fron Raze, mainly new script exports and extensions.

This commit is contained in:
Christoph Oelckers 2021-05-03 14:13:03 +02:00
commit 52554dc32c
21 changed files with 288 additions and 17 deletions

View file

@ -787,7 +787,7 @@ void F2DDrawer::AddPoly(FGameTexture* img, FVector4* vt, size_t vtcount, const u
mIndices.Reserve(vtcount);
for (size_t i = 0; i < vtcount; i++)
{
mIndices[dg.mIndexIndex + i] = i + dg.mVertIndex;
mIndices[dg.mIndexIndex + i] = int(i + dg.mVertIndex);
}
dg.mIndexCount = (int)vtcount;