| 3507 | } |
| 3508 | |
| 3509 | void CheckCheatStats(int pnum) |
| 3510 | { |
| 3511 | if (plr[pnum]._pStrength > 750) { |
| 3512 | plr[pnum]._pStrength = 750; |
| 3513 | } |
| 3514 | |
| 3515 | if (plr[pnum]._pDexterity > 750) { |
| 3516 | plr[pnum]._pDexterity = 750; |
| 3517 | } |
| 3518 | |
| 3519 | if (plr[pnum]._pMagic > 750) { |
| 3520 | plr[pnum]._pMagic = 750; |
| 3521 | } |
| 3522 | |
| 3523 | if (plr[pnum]._pVitality > 750) { |
| 3524 | plr[pnum]._pVitality = 750; |
| 3525 | } |
| 3526 | |
| 3527 | if (plr[pnum]._pHitPoints > 128000) { |
| 3528 | plr[pnum]._pHitPoints = 128000; |
| 3529 | } |
| 3530 | |
| 3531 | if (plr[pnum]._pMana > 128000) { |
| 3532 | plr[pnum]._pMana = 128000; |
| 3533 | } |
| 3534 | } |
| 3535 | |
| 3536 | void ClrPlrPath(int pnum) |
| 3537 | { |