mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- animation fix.
This commit is contained in:
parent
d6786cf0eb
commit
2c5737795f
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ void BuildTiles::AddTiles (int firsttile, TArray<uint8_t>& RawData, bool permap)
|
|||
auto tex = GetTileTexture("", RawData, uint32_t(tiledata - tiles), width, height, anm);
|
||||
AddTile(i, tex);
|
||||
int leftoffset, topoffset;
|
||||
auto PicAnim = tileConvertAnimFormat(anm, &leftoffset, &topoffset);
|
||||
this->tiledata[i].picanm = tileConvertAnimFormat(anm, &leftoffset, &topoffset);
|
||||
tex->SetOffsets(leftoffset, topoffset);
|
||||
|
||||
tiledata += size;
|
||||
|
|
Loading…
Reference in a new issue