mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Add 'hasFeature' method for convenience
This commit is contained in:
@@ -119,6 +119,11 @@ public:
|
||||
bool smartPointerSerialization;
|
||||
bool saving;
|
||||
|
||||
bool hasFeature(Version what)
|
||||
{
|
||||
return version >= what;
|
||||
};
|
||||
|
||||
BinarySerializer(IBinaryWriter * w);
|
||||
|
||||
template<typename Base, typename Derived>
|
||||
|
||||
Reference in New Issue
Block a user