From 778facb21f822cea549939c8dbee886e1cd342aa Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 6 Nov 2013 15:06:00 -0200 Subject: Modified @command loading So that HPM plugins are able to override default commands, thanks to Akkarin for bringing it up. Signed-off-by: shennetsind --- src/map/atcommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.h') diff --git a/src/map/atcommand.h b/src/map/atcommand.h index 63c38e4d1..e4c66df40 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -110,7 +110,7 @@ struct atcommand_interface { int (*cmd_db_clear_sub) (DBKey key, DBData *data, va_list args); void (*doload) (void); void (*base_commands) (void); - bool (*add) (char *name, AtCommandFunc func); + bool (*add) (char *name, AtCommandFunc func, bool replace); }; struct atcommand_interface *atcommand; -- cgit v1.2.3-60-g2f50