OSDN Git Service

In English inventory display, ranged weapons have the string "/current_world_ptr...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 25 Aug 2019 05:13:00 +0000 (22:13 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Sun, 25 Aug 2019 05:13:00 +0000 (22:13 -0700)
src/flavor.c

index f7f4f92..be73593 100644 (file)
@@ -2466,7 +2466,7 @@ void object_desc(char *buf, object_type *o_ptr, BIT_FLAGS mode)
                        avgdam *= (p_ptr->num_fire * 100);
                        avgdam /= energy_fire;
                        t = object_desc_num(t, avgdam);
-                       t = object_desc_str(t, show_ammo_detail ? "/current_world_ptr->game_turn" : "");
+                       t = object_desc_str(t, show_ammo_detail ? "/turn" : "");
                        
                        if(show_ammo_crit_ratio)
                        {