Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
1 parent
1ea7ab1f42
commit
23f6fd1633
85 files changed
+246
-496
No files matched your search
+2
-2
@@ -959,9 +959,9 @@ BotChatTime
|
||||
==================
|
||||
*/
|
||||
float BotChatTime(bot_state_t *bs) {
|
||||
int cpm;
|
||||
//int cpm;
|
||||
|
||||
cpm = trap_Characteristic_BInteger(bs->character, CHARACTERISTIC_CHAT_CPM, 1, 4000);
|
||||
//cpm = trap_Characteristic_BInteger(bs->character, CHARACTERISTIC_CHAT_CPM, 1, 4000);
|
||||
|
||||
return 2.0; //(float) trap_BotChatLength(bs->cs) * 30 / cpm;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user