mirror of
https://github.com/zeldaret/oot.git
synced 2025-06-08 09:31:52 +00:00
format
This commit is contained in:
parent
578642e33b
commit
b349093084
1 changed files with 2 additions and 1 deletions
|
@ -1964,7 +1964,8 @@ s32 Actor_NotMounted(UNUSED PlayState* play, Actor* horse) {
|
||||||
* @param type PlayerKnockbackType
|
* @param type PlayerKnockbackType
|
||||||
* @param damage additional amount of damage to deal to the player
|
* @param damage additional amount of damage to deal to the player
|
||||||
*/
|
*/
|
||||||
void Actor_SetPlayerKnockback(PlayState* play, UNUSED Actor* actor, f32 speed, s16 rot, f32 yVelocity, u32 type, u32 damage) {
|
void Actor_SetPlayerKnockback(PlayState* play, UNUSED Actor* actor, f32 speed, s16 rot, f32 yVelocity, u32 type,
|
||||||
|
u32 damage) {
|
||||||
Player* player = GET_PLAYER(play);
|
Player* player = GET_PLAYER(play);
|
||||||
|
|
||||||
player->knockbackDamage = damage;
|
player->knockbackDamage = damage;
|
||||||
|
|
Loading…
Add table
Reference in a new issue