projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac8ece0
)
stop air sound while paused
author
hgn
<hgodden00@gmail.com>
Tue, 19 Dec 2023 04:17:01 +0000
(
04:17
+0000)
committer
hgn
<hgodden00@gmail.com>
Tue, 19 Dec 2023 04:17:01 +0000
(
04:17
+0000)
player.c
patch
|
blob
|
history
player_walk.c
patch
|
blob
|
history
diff --git
a/player.c
b/player.c
index 1d95c8b852e90ac00726d94df4dff9e0fa9586d7..bd929a5f94973c1e9923ef09c437ca58e2242081 100644
(file)
--- a/
player.c
+++ b/
player.c
@@
-119,7
+119,7
@@
static void player__post_update(void){
player_subsystems[ localplayer.subsystem ]->post_update();
SDL_AtomicLock( &air_data.sl );
- air_data.speed = v3_length( localplayer.rb.v );
+ air_data.speed = v3_length( localplayer.rb.v )
* vg.time_rate
;
SDL_AtomicUnlock( &air_data.sl );
}
diff --git
a/player_walk.c
b/player_walk.c
index 449b99e3a03bff9e0b63466123bcc2c5be4506c5..38429c7c531be3c6dabf9266a9d094df0886ae63 100644
(file)
--- a/
player_walk.c
+++ b/
player_walk.c
@@
-1037,7
+1037,6
@@
static void player__walk_pose( void *_animator, player_pose *pose ){
NULL, pose );
}
else if( animator->activity == k_walk_activity_ipopoff ){
-
if( animator->run > 0.2f ){
f32 t = 1.0f-vg_minf( animator->run-0.2f, 1.0f ),
mask[ 32 ];