aboutsummaryrefslogtreecommitdiff
path: root/games/barony/files/patch-src_interface_updatecharactersheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/barony/files/patch-src_interface_updatecharactersheet.cpp')
-rw-r--r--games/barony/files/patch-src_interface_updatecharactersheet.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/barony/files/patch-src_interface_updatecharactersheet.cpp b/games/barony/files/patch-src_interface_updatecharactersheet.cpp
new file mode 100644
index 000000000000..a62260e997e6
--- /dev/null
+++ b/games/barony/files/patch-src_interface_updatecharactersheet.cpp
@@ -0,0 +1,11 @@
+--- src/interface/updatecharactersheet.cpp.orig 2022-10-30 19:09:47 UTC
++++ src/interface/updatecharactersheet.cpp
+@@ -848,7 +848,7 @@ void drawSkillsSheet()
+ skillDetails[1] += 20;
+ if ( stats[clientnum]->PROFICIENCIES[PRO_RANGED] < SKILL_LEVEL_LEGENDARY )
+ {
+- skillDetails[1] = std::min(skillDetails[1], 90.0);
++ skillDetails[1] = std::min(skillDetails[1], (real_t)90.0);
+ }
+ }
+ if ( players[clientnum] && players[clientnum]->entity )