- use FGameTexture in the model rendering code.
This commit is contained in:
parent
b9b6a354c7
commit
54f4267597
13 changed files with 28 additions and 27 deletions
|
|
@ -123,7 +123,7 @@ static bool R_InstallSpriteLump (FTextureID lump, unsigned frame, char rot, bool
|
|||
|
||||
if (frame >= MAX_SPRITE_FRAMES || rotation > 16)
|
||||
{
|
||||
Printf (TEXTCOLOR_RED "R_InstallSpriteLump: Bad frame characters in lump %s\n", TexMan.GetTexture(lump)->GetName().GetChars());
|
||||
Printf (TEXTCOLOR_RED "R_InstallSpriteLump: Bad frame characters in lump %s\n", TexMan.GetGameTexture(lump)->GetName().GetChars());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -287,7 +287,7 @@ void R_InstallSprite (int num, spriteframewithrotate *sprtemp, int &maxframe)
|
|||
{
|
||||
for (int rot = 0; rot < 16; ++rot)
|
||||
{
|
||||
TexMan.GetTexture(sprtemp[frame].Texture[rot])->SetRotations(framestart + frame);
|
||||
TexMan.GetGameTexture(sprtemp[frame].Texture[rot])->SetRotations(framestart + frame);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue