- Fixed: The HIRESTEX parser didn't check if a graphic specified in a remap
command actually existed. - Fixed: My $Limit fix from yesterday didn't work because NearLimit was an unsigned byte and the comparisons with -1 didn't work. Made it a signed word instead. - Made sfxinfo_t::Link an unsigned int because it limited the amount of usable sounds to 65535. SVN r869 (trunk)
This commit is contained in:
parent
f23e9df084
commit
868782a843
5 changed files with 25 additions and 8 deletions
|
|
@ -79,6 +79,7 @@ FTexture * FTexture::CreateTexture (int lumpnum, int usetype)
|
|||
{ FAutomapTexture::Check, FAutomapTexture::Create, TEX_Autopage },
|
||||
};
|
||||
|
||||
if (lumpnum == -1) return NULL;
|
||||
|
||||
FWadLump data = Wads.OpenLumpNum (lumpnum);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue