1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2006-01-04 00:39:13 +00:00
parent 4e42ac6395
commit bf4b98cee5

View file

@ -162,7 +162,11 @@ void(string line) SV_ParseClientCommand =
tokenize(line);
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));
}