Commit Graph
10 Commits
Author SHA1 Message Date
nhmall ad1d682751 from ais523 list: charge for boulder filling pit 2015-03-17 18:47:26 +02:00
nhmall d594f9fe01 catch up on some fixes entries 2015-03-17 18:47:23 +02:00
nhmall 074fb69be0 do_look() in post-3.4.3 code fixes entry 2015-03-17 18:47:22 +02:00
nhmall 5174eb157f One VS Makefile for Nethack that works with VS2010-VS2015 2015-03-17 18:47:21 +02:00
nhmall 2b83895fd4 typo in format string on previous commit 2015-03-17 18:47:21 +02:00
nhmall 20b16455ef more do_look() glyph usage without it being set properly
Changes to be committed:
	modified:   src/pager.c

When the previous occurrence that triggered a segfault
was fixed, I didn't check for more of them. It turns out there
were more instances.

This also removes some dead code.
2015-03-17 18:47:21 +02:00
nhmall 0b231571bc fix a segfault in mapglyph reported by Pasi earlier today
Changes to be committed:
	modified:   src/pager.c

Steps to reproduce the reported segfault:
Use / command, answer n, press space and enter

In do_look() variable glyph is only set to a proper
value if using the screen (from_screen) or the
mouse (clicklook).

On the code path that triggered the segfault,
glyph was being passed to mapglyph with a random
arbitrary value.

If glyph had been initialized at the start of
do_look(), it would have prevented the segfault,
but would have always displayed a giant ant or
something silly instead of the correct thing.

Don't use glyph except under
from_screen || clicklook.
2015-03-17 18:47:19 +02:00
nhmall c6e85f2c27 Fix some README mistakes that Janet spotted 2015-03-17 18:47:15 +02:00
nhmall dcd3299723 Updated README
On 3/1/2015 10:37 AM, coppro wrote:
> >>          Sun SPARC based machine running SunOS 4.x, Solaris 2.x, or
> Solaris 7
>
> By release time, I should have access to a BSD flavour installed on a SPARC
> machine. Would out be helpful for me to do cursory tests?

On 3/1/2015 10:41 AM, lorimer wrote:
> I have access to a Borland environment too, so I'll be
> borrowing that at some point.  [Just not soon.]

I didn't include the above, just in case they don't happen.
The README can, of course, be updated again once they have
been tried.
2015-03-17 18:47:15 +02:00
nhmall 4da05c9dba catch up fixes with some recent changes; also add 'community patch' section 2015-03-17 18:46:54 +02:00