string function cleanups

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-11-07 22:44:32 +00:00
parent 9e817de2c8
commit e725e5ed8c
38 changed files with 423 additions and 420 deletions
+2 -2
View File
@@ -457,8 +457,8 @@ bool empty_world(int factor, bool force) // main empty world creation routine
}
else
{
s_strncpy(hdr.maptitle, "Untitled Map by Unknown", 128);
s_strncpy(hdr.mediareq, "", 128); // MediaPack
copystring(hdr.maptitle, "Untitled Map by Unknown", 128);
copystring(hdr.mediareq, "", 128); // MediaPack
hdr.waterlevel = -100000;
setwatercolor();
loopi(sizeof(hdr.reserved)/sizeof(hdr.reserved[0])) hdr.reserved[i] = 0;