OSDN Git Service

Modify torch_lost_fuel bug. No more create minus charge torches.
[hengband/hengband.git] / src / z-virt.c
index 3405ef0..fa5daf1 100644 (file)
@@ -48,7 +48,7 @@ vptr rnfree(vptr p, huge len)
        {
                char buf[80];
                sprintf(buf, "Kill (%ld): %ld - %ld = %ld.",
-                       len, virt_make, virt_kill, virt_make - virt_kill);
+                       len, virt_make, virt_kill, virt_make - virt_kill);
                plog(buf);
        }
 
@@ -115,7 +115,7 @@ vptr ralloc(huge len)
        {
                char buf[80];
                sprintf(buf, "Make (%ld): %ld - %ld = %ld.",
-                       len, virt_make, virt_kill, virt_make - virt_kill);
+                       len, virt_make, virt_kill, virt_make - virt_kill);
                plog(buf);
        }