| 3070 | } |
| 3071 | |
| 3072 | static U32 PatrickGrabThrowCB(xAnimTransition*, xAnimSingle*, void* object) |
| 3073 | { |
| 3074 | zEntPlayer_SNDPlay(ePlayerSnd_Throw, 0.0f); |
| 3075 | zEnt* ent = (zEnt*)object; |
| 3076 | if (gReticleTarget && sTypeOfTarget == 3) |
| 3077 | { |
| 3078 | globals.player.carry.throwTarget = gReticleTarget; |
| 3079 | } |
| 3080 | else |
| 3081 | { |
| 3082 | globals.player.carry.throwTarget = GetPatrickTarget(ent); |
| 3083 | } |
| 3084 | |
| 3085 | globals.player.carry.flyingToTarget = NULL; |
| 3086 | if (globals.player.carry.grabbed && globals.player.carry.grabbed->baseType == eBaseTypeNPC) |
| 3087 | { |
| 3088 | ((zNPCCommon*)globals.player.carry.grabbed)->SetCarryState(zNPCCARRY_THROW); |
| 3089 | } |
| 3090 | |
| 3091 | return 0; |
| 3092 | } |
| 3093 | |
| 3094 | static class zNPCLassoInfo* sCurrentNPCInfo; |
| 3095 | void zEntPlayer_LassoNotify(en_LASSO_EVENT event) |
nothing calls this directly
no test coverage detected