1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-08 23:22:25 +02:00

Compile fix

This commit is contained in:
Tomasz Zieliński
2024-05-05 09:33:49 +02:00
parent df3abf4f6b
commit 0bddefd2b9

View File

@@ -49,7 +49,7 @@ public:
virtual int32_t getAdvMapAmountMin() const = 0;
virtual int32_t getAdvMapAmountMax() const = 0;
virtual int32_t getAIValue() const = 0;
virtual int32_t getFightValue() const [[deprecated("Use AIValue instead")]] { return 0; };
[[deprecated("Use AIValue instead")]] virtual int32_t getFightValue() const { return 0; };
virtual int32_t getLevel() const = 0;
virtual int32_t getGrowth() const = 0;
virtual int32_t getHorde() const = 0;