- removed the 'caller' parameter from the CCMD dispatcher.
This can never be anything but players[consoleplayer].mo, so there is no need to pass it through the interface.
This commit is contained in:
parent
603ad755ab
commit
d63a6baa5d
5 changed files with 34 additions and 34 deletions
|
|
@ -121,7 +121,7 @@ CCMD (countdecals)
|
|||
|
||||
CCMD (spray)
|
||||
{
|
||||
if (who == NULL || argv.argc() < 2)
|
||||
if (players[consoleplayer].mo == NULL || argv.argc() < 2)
|
||||
{
|
||||
Printf ("Usage: spray <decal>\n");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue