projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix username bug, fix animator spin bug
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player.c
diff --git
a/player.c
b/player.c
index b0888ea6e00249b4040aec7b64ea900605254c96..52949ecaa41824a139ee4a4b5dcd8fa759c22c78 100644
(file)
--- a/
player.c
+++ b/
player.c
@@
-281,6
+281,11
@@
PLAYER_API void player__kill( player_instance *player ){
}
+PLAYER_API void player__begin_holdout( player_instance *player ){
+ memcpy( &player->holdout_pose, &player->pose, sizeof(player->pose) );
+ player->holdout_time = 1.0f;
+}
+
/* implementation */
#include "player_common.c"
#include "player_walk.c"