- fixed multiplication/division mixup in TextureAdjustWidth.
- fixed: For top textures an incorrect ceiling height was passed to DoTexture.
This commit is contained in:
parent
bac3f1ee9b
commit
caf80e74c4
2 changed files with 3 additions and 3 deletions
|
|
@ -372,7 +372,7 @@ float FTexCoordInfo::TextureAdjustWidth() const
|
|||
if (mWorldPanning)
|
||||
{
|
||||
if (mTempScale.X == 1.f) return mRenderWidth;
|
||||
else return mWidth * mTempScale.X;
|
||||
else return mWidth / mTempScale.X;
|
||||
}
|
||||
else return mWidth;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue