diff options
author | Mikko Tiusanen <ams@daug.net> | 2015-01-25 23:47:16 +0200 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2015-01-25 23:47:16 +0200 |
commit | 56382169c394bc6a1e63a91fdd59b58ac3974986 (patch) | |
tree | ca7b9e762d4dfc7a11bc01e7dcbe072f465dc343 /src/game/bg_pmove.c | |
parent | 67948a489d2a07b94b6d5a3eeb2b642146865a61 (diff) |
Fixed compiler warnings in all game, cgame sources.
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r-- | src/game/bg_pmove.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 9728ff0..017b389 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -771,6 +771,7 @@ static qboolean PM_CheckAirPounce( void ) if( pm->ps->weapon == WP_ALEVEL5 ) jumpMagnitude = pm->ps->stats[ STAT_MISC ] * LEVEL5_POUNCE_JUMP_MAG / LEVEL5_POUNCE_TIME; + else jumpMagnitude = 0; VectorMA( pm->ps->velocity, jumpMagnitude, pml.forward, pm->ps->velocity ); PM_AddEvent( EV_AIRPOUNCE ); @@ -1399,7 +1400,7 @@ Only with the flight powerup */ static void PM_FlyMove( void ) { - int i; + // int i; vec3_t wishvel,wishdir; float wishspeed,scale; |