[quake3-commits] [ioquake/ioq3] 471ea9: Fix Team Arena server refresh time format

Zack Middleton zack at cloemail.com
Fri Nov 10 21:56:10 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 471ea9e56411606e814a703419433494a71a3f42
      https://github.com/ioquake/ioq3/commit/471ea9e56411606e814a703419433494a71a3f42
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Fix Team Arena server refresh time format

Make minute less than 10 have a leading 0. Change '7:1' to '7:01'.


  Commit: 4af2c91fbfd0b9032b89aca17a3553216256dfe1
      https://github.com/ioquake/ioq3/commit/4af2c91fbfd0b9032b89aca17a3553216256dfe1
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M code/cgame/cg_playerstate.c

  Log Message:
  -----------
  Fix -1 (unlimited) ammo decreasing ammo time remaining

Gauntlet and Grappling Hook use -1 ammo. Gauntlet is excluded from
the check ammo loop but Grappling Hook causes ammo time remaining
to decrease 200 milliseconds.

The out of ammo check tests time remaining is equal to zero. This
means carrying Grappling Hook and out of ammo will have negative
time remaining which results in the low ammo message being displayed
instead of out of ammo.


Compare: https://github.com/ioquake/ioq3/compare/e8450cae33fb...4af2c91fbfd0


More information about the quake3-commits mailing list