Skip to content

Commit

Permalink
skins
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Oct 29, 2023
1 parent 3a94de4 commit bc42a6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,7 @@ set(EXPECTED_DATA
skins/whis.png
skins/x_ninja.png
skins/x_spec.png
skins/zombie.png
strong_weak.png
themes/auto.png
themes/autumn.png
Expand Down
Binary file added data/skins/zombie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/game/client/gameclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2887,6 +2887,9 @@ void CGameClient::ProcessInfClassPlayerInfo(int ClientID, const CNetObj_InfClass
case PLAYERCLASS_GHOST:
pSkin = m_Skins.Find("ghost");
break;
case PLAYERCLASS_TANK:
pSkin = m_Skins.Find("zombie");
break;
default:
break;
}
Expand Down

0 comments on commit bc42a6a

Please sign in to comment.