summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 14:58:27 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 14:58:27 +0200
commit2f3be64ddfcd5beac009b56cee34812e20849ef1 (patch)
treed3d0eab4c11d0061cf287489eef9d82df65ae89a /src/game.c
parent7d87e8e3e9eccbb3ae351f3218276b2dae506665 (diff)
remove img from sprite struct
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game.c b/src/game.c
index 6bb0301..a9a91c1 100644
--- a/src/game.c
+++ b/src/game.c
@@ -251,10 +251,6 @@ void update_client(platform_window* window) {
case MESSAGE_USER_LIST: {
protocol_user_list* msg_players = (protocol_user_list*)msg;
memcpy(players, msg_players->players, sizeof(players));
-
- for (int i = 0; i < MAX_PLAYERS; i++) {
- players[i].sprite.image = img_player;
- }
} break;
case MESSAGE_ZOMBIE_LIST: {