mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
fix an incorrect parameter bug found by Grievre
This commit is contained in:
parent
4d3ca27227
commit
53e382d3f8
1 changed files with 1 additions and 1 deletions
|
@ -1379,7 +1379,7 @@ SV_ExecuteUserCommand (const char *s)
|
||||||
} else {
|
} else {
|
||||||
if (!u->no_redirect)
|
if (!u->no_redirect)
|
||||||
SV_BeginRedirect (RD_CLIENT);
|
SV_BeginRedirect (RD_CLIENT);
|
||||||
u->func (u);
|
u->func (u->userdata);
|
||||||
if (!u->no_redirect)
|
if (!u->no_redirect)
|
||||||
SV_EndRedirect ();
|
SV_EndRedirect ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue