| 414 | //--------------------------------------------------------------------------- |
| 415 | |
| 416 | void PlayerUpdateWeapon(DSWPlayer* pp, short WeaponNum) |
| 417 | { |
| 418 | DSWActor* plActor = pp->GetActor(); |
| 419 | |
| 420 | // weapon Change |
| 421 | if (Prediction) |
| 422 | return; |
| 423 | |
| 424 | plActor->user.WeaponNum = int8_t(WeaponNum); |
| 425 | } |
| 426 | |
| 427 | //--------------------------------------------------------------------------- |
| 428 | // |
no test coverage detected