mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
Fixed crash on loading multipatch texture with height of 256
http://forum.zdoom.org/viewtopic.php?t=53953
This commit is contained in:
parent
fa8e05d56d
commit
316e3395ad
1 changed files with 2 additions and 2 deletions
|
@ -297,8 +297,6 @@ FMultiPatchTexture::FMultiPatchTexture (const void *texdef, FPatchLookup *patchl
|
|||
Printf ("Texture %s is left without any patches\n", Name.GetChars());
|
||||
}
|
||||
|
||||
CheckForHacks ();
|
||||
|
||||
DefinitionLump = deflumpnum;
|
||||
}
|
||||
|
||||
|
@ -1370,6 +1368,8 @@ void FMultiPatchTexture::ResolvePatches()
|
|||
delete[] Inits;
|
||||
Inits = nullptr;
|
||||
|
||||
CheckForHacks();
|
||||
|
||||
// If this texture is just a wrapper around a single patch, we can simply
|
||||
// forward GetPixels() and GetColumn() calls to that patch.
|
||||
|
||||
|
|
Loading…
Reference in a new issue