- removed the playernum parameter from CheckLocalView
This was always used with 'consoleplayer' which really is the only thing making sense here. But this is a part of the global state which should be avoided in play code. In particular, this makes no real sense in case of secondary maps where it should always return false.
This commit is contained in:
parent
7149d1d312
commit
ddab2c3e78
18 changed files with 50 additions and 61 deletions
|
|
@ -438,7 +438,7 @@ void player_t::SetLogText (const char *text)
|
|||
{
|
||||
LogText = text;
|
||||
|
||||
if (mo->CheckLocalView(consoleplayer))
|
||||
if (mo->CheckLocalView())
|
||||
{
|
||||
// Print log text to console
|
||||
AddToConsole(-1, TEXTCOLOR_GOLD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue