Linux: Fixed another warning in ai_dmnet

This commit is contained in:
Walter Julius Hennecke 2012-12-31 12:59:00 +01:00
parent 355b6d5638
commit 1b1550fff8

View file

@ -1965,7 +1965,7 @@ void AIEnter_Battle_Fight(bot_state_t *bs, const char *s) {
AIEnter_Battle_Fight AIEnter_Battle_Fight
================== ==================
*/ */
void AIEnter_Battle_SuicidalFight(bot_state_t *bs, char *s) { void AIEnter_Battle_SuicidalFight(bot_state_t *bs, const char *s) {
BotRecordNodeSwitch(bs, "battle fight", "", s); BotRecordNodeSwitch(bs, "battle fight", "", s);
gi.BotResetLastAvoidReach(bs->ms); gi.BotResetLastAvoidReach(bs->ms);
bs->ainode = AINode_Battle_Fight; bs->ainode = AINode_Battle_Fight;