Fix u and v scale not being reset to 1 on non-power of two invalid skin, e.g. http://i.imgur.com/0cC4RXV.png (Thanks CyberToon)

This commit is contained in:
UnknownShadow200 2017-03-02 16:50:11 +11:00
parent c2022f6950
commit 550f201795

View File

@ -134,6 +134,7 @@ namespace ClassicalSharp.Entities {
}
void ResetSkin() {
uScale = 1; vScale = 1;
MobTextureId = -1;
TextureId = -1;
SkinType = game.DefaultPlayerSkinType;