From 14519dc25828dd01bf35fa74e0f6b695b7c3895c Mon Sep 17 00:00:00 2001 From: Jacob Mandelson Date: Mon, 22 Apr 2024 09:24:30 -0700 Subject: [PATCH] Show weapon watermark with geometric xbow. --- crossbow.cpp | 1 + hud.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crossbow.cpp b/crossbow.cpp index 365e09d3..7720e0fc 100644 --- a/crossbow.cpp +++ b/crossbow.cpp @@ -28,6 +28,7 @@ EX namespace bow { #if HDR enum eWeapon { wBlade, wCrossbow }; enum eCrossbowStyle { cbBull, cbGeodesic, cbGeometric }; +const string bowName[] = { "bull", "geod", "geom" }; #endif EX eWeapon weapon; diff --git a/hud.cpp b/hud.cpp index 8c1ec59a..50276d7b 100644 --- a/hud.cpp +++ b/hud.cpp @@ -705,8 +705,7 @@ EX void drawStats() { if(peace::on) vers += " peace"; if(racing::on) vers += " racing"; if(daily::on) vers += " strange"; - if(bow::weapon && bow::style == bow::cbBull) vers += " b/bull"; - if(bow::weapon && bow::style == bow::cbGeodesic) vers += " b/geo"; + if(bow::crossbow_mode()) vers += " b/" + bow::bowName[bow::style]; if(land_structure != default_land_structure()) vers += " " + land_structure_name(true); if(princess::challenge) vers += " Princess";