Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
videoP committed Apr 2, 2024
1 parent dabc941 commit 90b95e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codemp/game/g_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -6634,7 +6634,7 @@ static void Cmd_MovementStyle_f(gentity_t *ent)
return;

if (trap->Argc() != 2) {
trap->SendServerCommand( ent-g_entities, "print \"Usage: /move <siege, jka, qw, cpm, ocpm, q3, pjk, wsw, rjq3, rjcpm, swoop, jetpack, speed, sp, slick, botcpm, coop, ocpm, or tribes>.\n\"" );
trap->SendServerCommand( ent-g_entities, "print \"Usage: /move <siege, jka, qw, cpm, q3, pjk, wsw, rjq3, rjcpm, swoop, jetpack, speed, sp, slick, botcpm, coop, ocpm, tribes, or surf>.\n\"" );
return;
}

Expand Down
2 changes: 1 addition & 1 deletion codemp/game/g_items.c
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ int Pickup_Ammo (gentity_t *ent, gentity_t *other)
other->client->ps.ammo[AMMO_THERMAL] = 2;
other->client->ps.ammo[AMMO_TRIPMINE] = 2;

if (other->health < other->client->ps.stats[STAT_MAX_HEALTH]) {
if (other->health > 0 && other->health < other->client->ps.stats[STAT_MAX_HEALTH]) {
other->client->passiveHealthDebReduce = level.time; //Passif regen
if (other->client->pers.tribesClass == 1) {
other->health += 250;
Expand Down

0 comments on commit 90b95e5

Please sign in to comment.