diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-03-19 03:06:32 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-03-26 17:05:27 +0100 |
commit | ec6204e447fd9e88b4cf2a628ed220f93f271fd0 (patch) | |
tree | 498553279ed6966d188c486ebc11205518f09a0c /logic/minecraft/VersionFile.h | |
parent | 9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c (diff) | |
download | MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar.gz MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar.lz MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar.xz MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.zip |
NOISSUE share logic for new attributes between mojang and onesix format
Diffstat (limited to 'logic/minecraft/VersionFile.h')
-rw-r--r-- | logic/minecraft/VersionFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/minecraft/VersionFile.h b/logic/minecraft/VersionFile.h index 49c55646..7627cc96 100644 --- a/logic/minecraft/VersionFile.h +++ b/logic/minecraft/VersionFile.h @@ -63,6 +63,10 @@ public: /* methods */ return Local; } + std::shared_ptr<class VersionFile> getVersionFile() override + { + return std::dynamic_pointer_cast<VersionFile>(shared_from_this()); + } virtual bool isCustom() override { |