From c0f2069689110d1df816d52e36d049d4b97a7a22 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 15 May 2009 10:27:05 +0000 Subject: - Fixed a bunch of invalid memory access bugs as reported by Valgrind. - Updated unit_stop_walking to not move character an extra cell when it is already half-way there unless flag 0x4 is passed. (bugreport:3078) - Fixed the monster MD_CASTSENSOR code not correctly setting the monster's aggressive state. - Corrected a few compiler warnings - Changed a bit the code for SC_BOSSMAPINFO so it is not so hideously ugly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13774 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9019fd86a..48e8b2464 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9176,7 +9176,7 @@ void do_final_atcommand() int atcommand_commands(const int fd, struct map_session_data* sd, const char* command, const char* message) { char line_buff[CHATBOX_SIZE]; - int i, gm_lvl = pc_isGM(sd), count = 0, count2 = 0; + int i, gm_lvl = pc_isGM(sd), count = 0; char* cur = line_buff; memset(line_buff,' ',CHATBOX_SIZE); -- cgit v1.2.3-70-g09d2