Skip to content

Commit

Permalink
fix techset dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
RektInator committed Nov 16, 2019
1 parent 5412d65 commit 204c746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IW4/Assets/Techset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ namespace ZoneTool
void ITechset::dump(MaterialTechniqueSet* asset)
{
auto iw5_techset = new IW5::MaterialTechniqueSet;
memset(iw5_techset, 0xFF, sizeof IW5::MaterialTechniqueSet);
memset(iw5_techset, 0, sizeof IW5::MaterialTechniqueSet);

iw5_techset->name = asset->name;
iw5_techset->pad = asset->pad;
Expand Down

0 comments on commit 204c746

Please sign in to comment.