mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-27 23:41:14 -04:00
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:
parent
c2022f6950
commit
550f201795
@ -134,6 +134,7 @@ namespace ClassicalSharp.Entities {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ResetSkin() {
|
void ResetSkin() {
|
||||||
|
uScale = 1; vScale = 1;
|
||||||
MobTextureId = -1;
|
MobTextureId = -1;
|
||||||
TextureId = -1;
|
TextureId = -1;
|
||||||
SkinType = game.DefaultPlayerSkinType;
|
SkinType = game.DefaultPlayerSkinType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user