]> granicus.if.org Git - nethack/commit
fix github issue #187 - 'reassess' panic with Qt5
authorPatR <rankin@nethack.org>
Mon, 29 Apr 2019 00:32:16 +0000 (17:32 -0700)
committerPatR <rankin@nethack.org>
Mon, 29 Apr 2019 00:32:16 +0000 (17:32 -0700)
commitc4ae9115cba3f91c994924bd7a089d8575908d40
tree528e03e448180fb440d181ac2d6b2f9e50ae426f
parent75db8e004d60cc80749d1b55536b011f8888a96b
fix github issue #187 - 'reassess' panic with Qt5

Fixes #187

Qt5 gave "status 'reassess' before init" panic at start of new game.
Don't call status_initialize(REASSESS) from set_usamon()--used for
hero setup as well as for hero polymorph--unless it was previously
called from display_gamewindows() with !REASSESS [which happens when
windowprocs.wincap2 has WC2_STATUS_HILITES or WC2_FLUSH_STATUS set].
doc/fixes36.2
src/polyself.c