- 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:
Christoph Oelckers 2020-04-11 18:02:27 +02:00
commit d63a6baa5d
5 changed files with 34 additions and 34 deletions

View file

@ -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;