mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
Restrict cmdSetCounterActive to tax counters only
This commit is contained in:
parent
be9b4137d7
commit
eddf2c3072
2 changed files with 9 additions and 1 deletions
|
|
@ -30,6 +30,11 @@ namespace CounterIds
|
|||
{
|
||||
constexpr int CommanderTax = 8;
|
||||
constexpr int PartnerTax = 9;
|
||||
|
||||
inline bool isTaxCounter(int id)
|
||||
{
|
||||
return id == CommanderTax || id == PartnerTax;
|
||||
}
|
||||
} // namespace CounterIds
|
||||
|
||||
namespace CounterNames
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue