]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/cmd.qc
Reduce name space of resource constants and variables (RESOURCE_* --> RES_*, resour...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / cmd.qc
index e39d5039dd8f4debe754d6487671416e401f5853..aec9957c7b16d11cfd02010ee0b074e7697941ae 100644 (file)
@@ -285,7 +285,7 @@ void ClientCommand_kill(entity caller, int request)
                        if(IS_SPEC(caller) || IS_OBSERVER(caller))
                                return; // no point warning about this, command does nothing
 
-                       if(GetResourceAmount(caller, RESOURCE_HEALTH) <= 0)
+                       if(GetResourceAmount(caller, RES_HEALTH) <= 0)
                        {
                                sprint(caller, "Can't die - you are already dead!\n");
                                return;