From 8e070343c5e50afb8e16aba6bd6bee9954ba0ea7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 8 May 2021 14:49:49 +0200 Subject: [PATCH] - added default crosshair for Exhumed. See https://github.com/nukeykt/NBlood/commit/1abadb6f1cd5a37ba99f4777f031a9e3a59ffd23 --- source/games/exhumed/src/gameloop.cpp | 2 +- source/games/exhumed/src/namelist.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/games/exhumed/src/gameloop.cpp b/source/games/exhumed/src/gameloop.cpp index ab08b2721..644e45d1b 100644 --- a/source/games/exhumed/src/gameloop.cpp +++ b/source/games/exhumed/src/gameloop.cpp @@ -79,7 +79,7 @@ void GameInterface::Render() DrawView(smoothratio); DrawStatusBar(); - DrawCrosshair(MAXTILES, PlayerList[nLocalPlayer].nHealth >> 3, -PlayerList[nLocalPlayer].angle.look_anghalf(smoothratio), 0, 1); + DrawCrosshair(kCrosshairTile, PlayerList[nLocalPlayer].nHealth >> 3, -PlayerList[nLocalPlayer].angle.look_anghalf(smoothratio), 0, 1); if (paused && !M_Active()) { diff --git a/source/games/exhumed/src/namelist.h b/source/games/exhumed/src/namelist.h index 50787ef8d..8d7076723 100644 --- a/source/games/exhumed/src/namelist.h +++ b/source/games/exhumed/src/namelist.h @@ -1,3 +1,4 @@ +x(CrosshairTile, 1579) x(SkullJaw, 3437) x(PowerslaveLogo, 3442) x(MenuNewGameTile, 3460)