diff --git a/quakec/fallout2/cmds.qc b/quakec/fallout2/cmds.qc index 9486d645d..12e7a9e98 100644 --- a/quakec/fallout2/cmds.qc +++ b/quakec/fallout2/cmds.qc @@ -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)); }