1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 14:56:00 +00:00

fixes to some warnings in g++ c++20

This commit is contained in:
Zeno Rogue
2025-03-30 12:51:16 +02:00
parent 546161ce28
commit 283928bf5e
2 changed files with 3 additions and 3 deletions

View File

@@ -330,7 +330,7 @@ void drawLightning(const shiftmatrix& V) {
void drawCurse(const shiftmatrix& V, eItem it) {
#if CAP_QUEUE
float ds = ptick(450) + (it * 5.5); // Extra offset so both Gluttony and Repulsion are easily visible
float ds = ptick(450) + (int(it) * 5.5); // Extra offset so both Gluttony and Repulsion are easily visible
color_t col = darkena(iinf[it].color, 0, 0xFF);
for(int u=0; u<20; u++) {
ld leng, rad;