diff --git a/code/AssbinLoader.cpp b/code/AssbinLoader.cpp index 65299f577..bb73e10b3 100644 --- a/code/AssbinLoader.cpp +++ b/code/AssbinLoader.cpp @@ -138,6 +138,7 @@ aiString Read(IOStream * stream) aiString s; stream->Read(&s.length,4,1); stream->Read(s.data,s.length,1); + s.data[s.length] = 0; return s; }