diff --git a/src/textures/texture.cpp b/src/textures/texture.cpp index 85b57798df1..bd2b8705491 100644 --- a/src/textures/texture.cpp +++ b/src/textures/texture.cpp @@ -1576,7 +1576,7 @@ float FTexCoordInfo::RowOffset(float rowoffset) const } else { - if (mWorldPanning) return rowoffset / tscale; + if (mWorldPanning) return rowoffset; else return rowoffset / scale; } } @@ -1598,7 +1598,7 @@ float FTexCoordInfo::TextureOffset(float textureoffset) const } else { - if (mWorldPanning) return textureoffset / tscale; + if (mWorldPanning) return textureoffset; else return textureoffset / scale; } }