| 2507 | } |
| 2508 | |
| 2509 | void OperateShrineStone(Player &player) |
| 2510 | { |
| 2511 | if (&player != MyPlayer) |
| 2512 | return; |
| 2513 | |
| 2514 | for (Item &item : PlayerItemsRange { player }) { |
| 2515 | if (item._itype == ItemType::Staff) |
| 2516 | item._iCharges = item._iMaxCharges; |
| 2517 | } |
| 2518 | |
| 2519 | CalcPlrInv(player, true); |
| 2520 | |
| 2521 | RedrawEverything(); |
| 2522 | |
| 2523 | InitDiabloMsg(EMSG_SHRINE_STONE); |
| 2524 | } |
| 2525 | |
| 2526 | void OperateShrineReligious(Player &player) |
| 2527 | { |
no test coverage detected