mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Toss lots of custom CString code
We already have a C standard library, so let's not reimplement it.
This commit is contained in:
@ -202,7 +202,7 @@ void plLayerMovie::Write(hsStream* s, hsResMgr* mgr)
|
||||
{
|
||||
plLayerAnimation::Write(s, mgr);
|
||||
|
||||
int len = hsStrlen(fMovieName);
|
||||
int len = (fMovieName) ? strlen(fMovieName) : 0;
|
||||
s->WriteLE32(len);
|
||||
if( len )
|
||||
s->Write(len, fMovieName);
|
||||
|
Reference in New Issue
Block a user