| 652 | } |
| 653 | |
| 654 | void DrawManaFlask() |
| 655 | { |
| 656 | int filled = plr[myplr]._pManaPer; |
| 657 | if (filled > 80) |
| 658 | filled = 80; |
| 659 | filled = 80 - filled; |
| 660 | if (filled > 11) |
| 661 | filled = 11; |
| 662 | filled += 2; |
| 663 | |
| 664 | DrawFlask(pManaBuff, 88, 277, gpBuffer, SCREENXY(PANEL_LEFT + 475, PANEL_TOP - 13), filled); |
| 665 | if (filled != 13) |
| 666 | DrawFlask(pBtmBuff, PANEL_WIDTH, PANEL_WIDTH * (filled + 3) + 475, gpBuffer, SCREENXY(PANEL_LEFT + 475, PANEL_TOP - 13 + filled), 13 - filled); |
| 667 | } |
| 668 | |
| 669 | void control_update_life_mana() |
| 670 | { |