Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   Missing the top line in character file dumps. (http://angband.oook.cz/forum/showthread.php?t=2120)

Kyle July 25, 2009 20:20

Missing the top line in character file dumps.
 
Hey, I think I found a possible typo in files.c.

Code:

        /* Begin dump */
        file_putf(fp, "  [%s %s Character Dump]\n\n",
                VERSION_NAME, VERSION_STRING);


        /* Display player */
        display_player(0);

        /* Dump part of the screen */
-      for (y = 2; y < 23; y++)
+      for (y = 1; y < 23; y++)
        {
                /* Dump each row */
                for (x = 0; x < 79; x++)
                {
                        /* Get the attr/char */
                        (void)(Term_what(x, y, &a, &c));

Because this is what currently happens at the top of character file dumps.

Code:

  [Angband 3.1.0 beta Character Dump]

 Sex    Female      Age            104  STR:    10  -1  -5  +0      4
 Race  Elf          Height          54  INT:    10  +2  +3  +0    15

But it should be

Code:

  [Angband 3.1.0 beta Character Dump]

 Name  Weth                                    Self  RB  CB  EB  Best
 Sex    Female      Age            104  STR:    10  -1  -5  +0      4
 Race  Elf          Height          54  INT:    10  +2  +3  +0    15


takkaria July 25, 2009 20:27

Yup, it'll be fixed real soon now, when 3.1.1 is out, which is any hour...

Kyle July 25, 2009 20:57

Sorry, has this already been addressed? I just "came home" to Angband and found these forums a few days ago.

:)


All times are GMT +1. The time now is 16:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.