Prevent crashes from unsafe cast with dummy function and define generateStitched function in TexturePack.h
This commit is contained in:
parent
4eaea8dc3f
commit
b25c8aaf38
1 changed files with 3 additions and 1 deletions
|
|
@ -52,7 +52,9 @@ public:
|
|||
virtual unsigned char getDLCSubPackId() = 0;
|
||||
virtual ColourTable *getColourTable() = 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:
|
||||
bool m_bHasAudio;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue