Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old July 25, 2009, 20:20   #1
Kyle
Rookie
 
Kyle's Avatar
 
Join Date: Jul 2009
Posts: 15
Kyle is on a distinguished road
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
Kyle is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rephial.org/play missing? Orillian Idle chatter 2 March 11, 2009 06:53
Missing high scores ChodTheWacko Vanilla 1 March 25, 2008 06:39
successive character dumps Garrie Oook! 1 February 19, 2008 21:05
[Feature Request]: 'g' gets top item from stack awldune Vanilla 0 December 14, 2007 22:31
comment in dumps AR_chie Oook! 8 August 3, 2007 16:19


All times are GMT +1. The time now is 07:58.


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