From 78ca37290bde57de8c104a81b7a896911cd54ce6 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 5 Mar 2025 10:29:50 -0500 Subject: [PATCH] cast style tidbit --- src/artifact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artifact.c b/src/artifact.c index 506d50ea1..2254b3976 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -269,7 +269,7 @@ mk_artifact( non-weapons, which always have a gen_spe of 0, and for many weapons, too.) The result is clamped into the "normal" range to prevent an outside chance of +12 artifacts generating. */ - new_spe = (int)otmp->spe + a->gen_spe; + new_spe = (int) otmp->spe + a->gen_spe; if (new_spe >= -10 && new_spe < 10) otmp->spe = new_spe; }