mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-06-08 21:52:54 +00:00
Prevent crashes from unsafe cast with dummy function and define generateStitched function in TexturePack.h
This commit is contained in:
parent
4eaea8dc3f
commit
b25c8aaf38
|
|
@ -52,7 +52,9 @@ public:
|
||||||
virtual unsigned char getDLCSubPackId() = 0;
|
virtual unsigned char getDLCSubPackId() = 0;
|
||||||
virtual ColourTable *getColourTable() = 0;
|
virtual ColourTable *getColourTable() = 0;
|
||||||
virtual ArchiveFile *getArchiveFile() = 0;
|
virtual ArchiveFile *getArchiveFile() = 0;
|
||||||
|
// Needed otherwise game go boom during unsafe cast
|
||||||
|
virtual DLCPack* getDLCInfoParentPack() { return NULL; }
|
||||||
|
virtual void generateStitched(unordered_map<wstring, Icon*> texturesByName) {}
|
||||||
private:
|
private:
|
||||||
bool m_bHasAudio;
|
bool m_bHasAudio;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue