mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Extend undefinetile to also remove voxels, hightile (including skyboxes) and models.
git-svn-id: https://svn.eduke32.com/eduke32@5915 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b74c0abd8d
commit
67d84df899
1 changed files with 9 additions and 0 deletions
|
@ -214,6 +214,15 @@ void E_UndefineTile(int32_t const tile)
|
|||
faketile[tile>>3] &= ~pow2char[tile&7];
|
||||
|
||||
Bmemset(&picanm[tile], 0, sizeof(picanm_t));
|
||||
|
||||
vox_undefine(tile);
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
for (ssize_t i=MAXPALOOKUPS-1; i>=0; --i)
|
||||
hicclearsubst(tile, i);
|
||||
|
||||
md_undefinetile(tile);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void set_picsiz(int32_t picnum)
|
||||
|
|
Loading…
Reference in a new issue