Mana counter shortcut (#2821)

This commit is contained in:
John Hill 2017-08-06 18:09:25 -07:00 committed by Zach H
parent dd05b86bc9
commit 3963570838
7 changed files with 342 additions and 21 deletions

View file

@ -1926,7 +1926,7 @@ AbstractCounter *Player::addCounter(int counterId, const QString &name, QColor c
if (name == "life")
c = playerTarget->addCounter(counterId, name, value);
else
c = new GeneralCounter(this, counterId, name, color, radius, value, this);
c = new GeneralCounter(this, counterId, name, color, radius, value, true, this);
counters.insert(counterId, c);
if (countersMenu)
countersMenu->addMenu(c->getMenu());