[quake3-commits] [ioquake/ioq3] 08ac36: Fix CG_WaterLevel() checks for waterlevel 2 and 3

Zack Middleton zturtleman at gmail.com
Sat Jul 4 04:45:19 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 08ac364cd6595b60d32957ad64c577eaedb7723b
      https://github.com/ioquake/ioq3/commit/08ac364cd6595b60d32957ad64c577eaedb7723b
  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 CG_WaterLevel() checks for waterlevel 2 and 3

CG_WaterLevel() added lerpOrigin to itself instead of adding view height
when checking for waterlevel 2 and 3. This did not cause issues because
ioq3 only compared the calculated waterlevel to more or equal to 1.




More information about the quake3-commits mailing list