From e7beef1499ae660af01f163a16b9040bd60d8845 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Fri, 9 Mar 2007 01:49:50 +0000 Subject: - Added info on packet 0x86 (simple move packet). Not usable until a clear separation between entering sight/leaving sight/walking in sight is done. - Propagating const char* from the script engine. - ".gat" is appended to the map name before sending the changemapserver packet to the client. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9979 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 756e433ce..9919867e4 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3741,7 +3741,7 @@ static const struct battle_data_int { { "hvan_explosion_intimate", &battle_config.hvan_explosion_intimate }, //[orn] }; -int battle_set_value(char *w1, char *w2) { +int battle_set_value(const char* w1, const char* w2) { int i; for(i = 0; i < sizeof(battle_data_short) / (sizeof(battle_data_short[0])); i++) if (strcmpi(w1, battle_data_short[i].str) == 0) { @@ -3756,7 +3756,7 @@ int battle_set_value(char *w1, char *w2) { return 0; } -int battle_get_value(char *w1) { +int battle_get_value(const char* w1) { int i; for(i = 0; i < sizeof(battle_data_short) / (sizeof(battle_data_short[0])); i++) if (strcmpi(w1, battle_data_short[i].str) == 0) { -- cgit v1.2.3-60-g2f50