1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Use HeroTypeID instead of int

This commit is contained in:
Ivan Savenko
2023-06-27 19:32:27 +03:00
parent 6493922f9b
commit 0fdbf54937
5 changed files with 14 additions and 10 deletions

View File

@@ -38,6 +38,8 @@
VCMI_LIB_NAMESPACE_BEGIN
const HeroTypeID HeroTypeID::NONE = HeroTypeID(-1);
const SlotID SlotID::COMMANDER_SLOT_PLACEHOLDER = SlotID(-2);
const SlotID SlotID::SUMMONED_SLOT_PLACEHOLDER = SlotID(-3);
const SlotID SlotID::WAR_MACHINES_SLOT = SlotID(-4);