warning fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6248 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2011-04-14 15:24:11 +00:00
parent 67392bd0fc
commit a4b83ef2ba
7 changed files with 8 additions and 17 deletions
+2 -2
View File
@@ -709,8 +709,8 @@ void setkillmessage(int gun, bool gib, const char *message)
return;
}
if(gib) formatstring(gibmessages[gun])("%s", message);
else formatstring(fragmessages[gun])("%s", message);
if(gib) copystring(gibmessages[gun], message, sizeof(gibmessages[gun]));
else copystring(fragmessages[gun], message, sizeof(fragmessages[gun]));
}
void fragmessage(const char *gun, const char *message)