summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/mapif.h2
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.Hooks.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/char/mapif.h b/src/char/mapif.h
index 6774db5e5..dcb60d547 100644
--- a/src/char/mapif.h
+++ b/src/char/mapif.h
@@ -187,7 +187,7 @@ struct mapif_interface {
int (*parse_WisToGM) (int fd);
int (*parse_Registry) (int fd);
int (*parse_RegistryRequest) (int fd);
- void (*namechange_ack) (int fd, int account_id, int char_id, int type, int flag, const char *const name);
+ void (*namechange_ack) (int fd, int account_id, int char_id, int type, int flag, const char *name);
int (*parse_NameChangeRequest) (int fd);
} mapif_s;
diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
index 2820c7154..8a775ccfd 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
@@ -11506,10 +11506,10 @@ int HP_mapif_parse_RegistryRequest(int fd) {
}
return retVal___;
}
-void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int flag, const char *constname) {
+void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int flag, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_mapif_namechange_ack_pre ) {
- void (*preHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *constname);
+ void (*preHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_namechange_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapif_namechange_ack_pre[hIndex].func;
@@ -11524,7 +11524,7 @@ void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int
HPMHooks.source.mapif.namechange_ack(fd, account_id, char_id, type, flag, name);
}
if( HPMHooks.count.HP_mapif_namechange_ack_post ) {
- void (*postHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *constname);
+ void (*postHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_namechange_ack_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapif_namechange_ack_post[hIndex].func;
postHookFunc(&fd, &account_id, &char_id, &type, &flag, name);