diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:26:51 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:00 +0000 |
commit | 0cf04fe37fef2e827a95bb19926a3cbf8e98c581 (patch) | |
tree | 93ac01309f47edb27be26fb31e3886f6082579b1 /src/cgame/cg_view.c | |
parent | d9709deb95375f2462e5ca9fc98ebf92fd91ce04 (diff) |
* Added charge meter to the UI, can be disabled via GUI
* Trample and Lucifer Cannon charging reworked and moved to PMove
* Can no longer "cancel" a charging Lucifer Cannon
* STAT_MISC2 is now unused, booster and charge information can be inferred elsewhere (STAT_UNUSED)
* Trying to fire an empty weapon makes a clicking noise (also a bugfix, apparently the server would spam EV_NOAMMO which did nothing but is now used for the clicking noise -- audible to all players)
* Created an alternate, muffled Lucifer Cannon warning noise for other people's Lucifer Cannons
* Fixed bug which prevented players from switching to a different player while spectating someone in the spawn queue
* Spectators are now properly moved to the lock view position when spectating a player in the spawn queue
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r-- | src/cgame/cg_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 2c718556..9772e1f5 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -471,7 +471,7 @@ static void CG_OffsetFirstPersonView( void ) if( ps->stats[ STAT_MISC ] > 0 ) { float fraction = (float)ps->stats[ STAT_MISC ] / - (float)LEVEL4_TRAMPLE_CHARGE_MAX; + LEVEL4_TRAMPLE_CHARGE_MAX; if( fraction > 1.0f ) fraction = 1.0f; |