From 8f21a89abc955bda859bbd522d15103b29c679b8 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 23 Mar 2023 19:14:57 +1100 Subject: [PATCH] - Exhumed: Remove some duplicated code already covered in `InitPlayers()`. --- source/games/exhumed/src/init.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/games/exhumed/src/init.cpp b/source/games/exhumed/src/init.cpp index 43b09edbf..c8a837d42 100644 --- a/source/games/exhumed/src/init.cpp +++ b/source/games/exhumed/src/init.cpp @@ -165,14 +165,6 @@ uint8_t LoadLevel(MapRecord* map) loadMap(currentLevel->fileName, 0, &initpos, &mapang, &initsect, spawned); auto actors = spawnactors(spawned); - int i; - - for (i = 0; i < kMaxPlayers; i++) - { - PlayerList[i].pActor = nullptr; - PlayerList[i].Angles = {}; - } - g_visibility = 1024; flash = 0; precache();