Stop players from being able to reorganise thier inventory whilst dead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1784 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
4e42ac6395
commit
bf4b98cee5
1 changed files with 5 additions and 1 deletions
|
@ -162,7 +162,11 @@ void(string line) SV_ParseClientCommand =
|
||||||
tokenize(line);
|
tokenize(line);
|
||||||
|
|
||||||
cmd = argv(0);
|
cmd = argv(0);
|
||||||
if (cmd == "invuse")
|
if (self.deadflag)
|
||||||
|
{ //no inventory stuff while dead.
|
||||||
|
clientcommand(self, line);
|
||||||
|
}
|
||||||
|
else if (cmd == "invuse")
|
||||||
{
|
{
|
||||||
Cmd_InvUse(argv(1));
|
Cmd_InvUse(argv(1));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue