Defs: When undefining a model, reset the angadd of its HUD settings to zero.

This fixes weapons not being displayed in Vaca+.

git-svn-id: https://svn.eduke32.com/eduke32@5053 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2015-03-09 07:37:23 +00:00
parent f2a2e1d8b3
commit 30669ab8ce

View file

@ -544,6 +544,9 @@ int32_t md_undefinetile(int32_t tile)
tile2model[tile].modelid = -1; tile2model[tile].modelid = -1;
tile2model[tile].next=-1; tile2model[tile].next=-1;
hudmem[0][tile].angadd = 0;
hudmem[1][tile].angadd = 0;
return 0; return 0;
} }