Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Sil

Reply
 
Thread Tools Display Modes
Old October 2, 2016, 06:20   #1
bron
Swordsman
 
Join Date: May 2008
Location: Saratoga, California (in the midst of Silicon Valley)
Posts: 450
bron is on a distinguished road
Minor bug with sil window management

I recently started playing with my inventory and equipment windows switched. For you X11 players this doesn't mean anything, but for us pure curses players it matters (a little). Anyway, it wasn't working right. I tracked down the problem: the "window_flag" variable isn't first being initialized to zero during a restore. i.e. in the file "load.c" at about line 700, you need to change:
Code:
        /* Analyze the options */
        for (n = 0; n < ANGBAND_TERM_MAX; n++)
        {
                /* Analyze the options */
                for (i = 0; i < 32; i++)
                {
to instead be:
Code:
        /* Analyze the options */
        for (n = 0; n < ANGBAND_TERM_MAX; n++)
        {
                op_ptr->window_flag[n] = 0;

                /* Analyze the options */
                for (i = 0; i < 32; i++)
                {
EDIT: Sorry; I forgot the legalese: full permission to use this bug-fix code, without restrictions.

Last edited by bron; October 2, 2016 at 21:35.
bron is offline   Reply With Quote
Reply


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
Crashing bug on window size borad Development 4 April 6, 2015 04:06
sil 1.1.1: minor bug (?) with chest generation bron Sil 1 March 6, 2013 22:02
sil 1.1: minor bug with thrown weapons bron Sil 1 November 18, 2012 12:24
Silly minor problem with extra-large window bron Vanilla 5 June 16, 2012 19:22
[3.3] Bug in overhead window. Timo Pietilš Development 1 July 26, 2011 23:21


All times are GMT +1. The time now is 04:23.


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