Close win now has return value

This commit is contained in:
James Booth
2012-03-01 00:40:51 +00:00
parent 1cc22c23f9
commit 2acf15de0d
3 changed files with 24 additions and 14 deletions

View File

@@ -177,11 +177,8 @@ static int _cmd_msg(char *inp)
static int _cmd_close(char *inp)
{
if (win_in_chat()) {
win_close_win();
} else {
if (!win_close_win())
cons_bad_command(inp);
}
return TRUE;
}