| 1520 | } |
| 1521 | |
| 1522 | void CheckCheatStats(Player &player) |
| 1523 | { |
| 1524 | if (player._pStrength > 750) { |
| 1525 | player._pStrength = 750; |
| 1526 | } |
| 1527 | |
| 1528 | if (player._pDexterity > 750) { |
| 1529 | player._pDexterity = 750; |
| 1530 | } |
| 1531 | |
| 1532 | if (player._pMagic > 750) { |
| 1533 | player._pMagic = 750; |
| 1534 | } |
| 1535 | |
| 1536 | if (player._pVitality > 750) { |
| 1537 | player._pVitality = 750; |
| 1538 | } |
| 1539 | |
| 1540 | if (player._pHitPoints > 128000) { |
| 1541 | player._pHitPoints = 128000; |
| 1542 | } |
| 1543 | |
| 1544 | if (player._pMana > 128000) { |
| 1545 | player._pMana = 128000; |
| 1546 | } |
| 1547 | } |
| 1548 | |
| 1549 | HeroClass GetPlayerSpriteClass(HeroClass cls) |
| 1550 | { |