This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag debian/1.36+u20171122_dfsg-1
in repository ioquake3.

commit 3e1599ac4bed2adb125600fd99b44f4167a75cd9
Author: Zack Middleton <[email protected]>
Date:   Fri Nov 10 21:09:01 2017 -0600

    Fix my previous commit about -1 ammo
---
 code/cgame/cg_playerstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/cgame/cg_playerstate.c b/code/cgame/cg_playerstate.c
index fa79bcb..f48e7b3 100644
--- a/code/cgame/cg_playerstate.c
+++ b/code/cgame/cg_playerstate.c
@@ -47,7 +47,7 @@ void CG_CheckAmmo( void ) {
                if ( ! ( weapons & ( 1 << i ) ) ) {
                        continue;
                }
-               if ( cg.cur_ps->ammo[i] < 0 ) {
+               if ( cg.snap->ps.ammo[i] < 0 ) {
                        continue;
                }
                switch ( i ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to