From 1290cc541348ed0593b4924a44ad552007a8756d Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 16 Dec 2007 21:00:36 +0000 Subject: Replaced the 'map name' castle data variable with the equivalent 'map index'. Optimized the castle lookup functions (direct dbmap enumeration, and no redundant operations inside the searching loop). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11918 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mmo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index f87964bf4..1d063eaa8 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -377,7 +377,7 @@ struct guild { struct guild_castle { int castle_id; - char map_name[MAP_NAME_LENGTH]; + int mapindex; char castle_name[NAME_LENGTH]; char castle_event[NAME_LENGTH]; int guild_id; -- cgit v1.2.3-70-g09d2