Some missing changes ...

This commit is contained in:
Walter Julius Hennecke 2012-12-30 21:13:01 +01:00
parent 9cced392c8
commit f7cafc6a2d
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ int BotAI_GetSnapshotEntity( int clientNum, int sequence, entityState_t *state )
BotAI_BotInitialChat
==================
*/
void QDECL BotAI_BotInitialChat( bot_state_t *bs, char *type, ... ) {
void QDECL BotAI_BotInitialChat( bot_state_t *bs, const char *type, ... ) {
int i, mcontext;
va_list ap;
char *p;

View file

@ -540,7 +540,7 @@ typedef struct
void (*BotRemoveConsoleMessage)(int chatstate, int handle);
int (*BotNextConsoleMessage)(int chatstate, struct bot_consolemessage_s *cm);
int (*BotNumConsoleMessages)(int chatstate);
void (*BotInitialChat)(int chatstate, char *type, int mcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7);
void (*BotInitialChat)(int chatstate, const char *type, int mcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7);
int (*BotNumInitialChats)(int chatstate, char *type);
int (*BotReplyChat)(int chatstate, char *message, int mcontext, int vcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7);
int (*BotChatLength)(int chatstate);