[quake3-commits] [ioquake/ioq3] 386a00: Fix CGame CG_WaterLevel() comparisons

Zack Middleton zturtleman at gmail.com
Sat Jul 4 07:20:28 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 386a00fc2b7db166c52bb8af23732d00ef18e676
      https://github.com/ioquake/ioq3/commit/386a00fc2b7db166c52bb8af23732d00ef18e676
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2015-07-04 (Sat, 04 Jul 2015)

  Changed paths:
    M code/cgame/cg_event.c

  Log Message:
  -----------
  Fix CGame CG_WaterLevel() comparisons

My last commit made it so that CGame "waterlevel 1" is feet in water,
but before it was erroneously about waist deep in water. The places
where it is checked it is suppose to be view position underwater.

Change comparisons to use correct value for view position underwater.




More information about the quake3-commits mailing list