more status_via_windowport (trunk only)
It was possible for status_finish to get called twice, therefore free() could end up called twice. Add a macro symbol for the argument to status_initialize(). Adjust some field widths so that there is a little bit of breathing space.
This commit is contained in:
@@ -25,7 +25,7 @@ set_uasmon()
|
||||
{
|
||||
set_mon_data(&youmonst, &mons[u.umonnum], 0);
|
||||
#ifdef STATUS_VIA_WINDOWPORT
|
||||
status_initialize(TRUE); /* TRUE = reassess fields only */
|
||||
status_initialize(REASSESS_ONLY);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user