mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-24 18:13:15 -05:00
fix skins on non-humanoid models for C client
This commit is contained in:
parent
ff5d8780bd
commit
5622523c6b
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ static void Player_SetSkinAll(Player* player, bool reset) {
|
|||
String skin = String_FromRawArray(player->SkinNameRaw);
|
||||
UInt32 i;
|
||||
for (i = 0; i < ENTITIES_MAX_COUNT; i++) {
|
||||
if (Entities_List[i] == NULL || Entities_List[i] == entity) continue;
|
||||
if (Entities_List[i] == NULL) continue;
|
||||
if (Entities_List[i]->EntityType != ENTITY_TYPE_PLAYER) continue;
|
||||
|
||||
Player* p = (Player*)Entities_List[i];
|
||||
|
|
Loading…
Add table
Reference in a new issue