diff --git a/src/textures/texturemanager.cpp b/src/textures/texturemanager.cpp index bbbb016ea0..39948f7327 100644 --- a/src/textures/texturemanager.cpp +++ b/src/textures/texturemanager.cpp @@ -1208,7 +1208,7 @@ DEFINE_ACTION_FUNCTION(_TexMan, GetSize) } else x = y = -1; if (numret > 0) ret[0].SetInt(x); - if (numret > 1) ret[1].SetInt(x); + if (numret > 1) ret[1].SetInt(y); return MIN(numret, 2); }