diff --git a/src/g_cmds.c b/src/g_cmds.c index 47133a6..eeeb2d1 100644 --- a/src/g_cmds.c +++ b/src/g_cmds.c @@ -229,6 +229,7 @@ Cmd_Give_f(edict_t *ent) if (gi.argc() == 3) { ent->health = atoi(gi.argv(2)); + ent->health = ent->health < 1 ? 1 : ent->health; } else {