OSDN Git Service

#37287 #37353 (2.2.0.89) ESSENCE_IDX 型を定義し、型の置換を継続中。 / Define ESSENCE_IDX, ongoing...
[hengband/hengband.git] / src / xtra1.c
index e4cea31..ec8c7e0 100644 (file)
@@ -3034,12 +3034,12 @@ static void calc_torch(void)
  * Computes current weight limit.
  * @return 制限重量(ポンド)
  */
-u32b weight_limit(void)
+WEIGHT weight_limit(void)
 {
-       u32b i;
+       WEIGHT i;
 
        /* Weight limit based only on strength */
-       i = (u32b)adj_str_wgt[p_ptr->stat_ind[A_STR]] * 50; /* Constant was 100 */
+       i = (WEIGHT)adj_str_wgt[p_ptr->stat_ind[A_STR]] * 50; /* Constant was 100 */
        if (p_ptr->pclass == CLASS_BERSERKER) i = i * 3 / 2;
 
        /* Return the result */