mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
Mana counter shortcut (#2821)
This commit is contained in:
parent
dd05b86bc9
commit
3963570838
7 changed files with 342 additions and 21 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue