summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-13 14:35:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-13 14:35:43 +0000
commit18282ae649b0c2d54deaba32132171cbf56a1868 (patch)
tree9c14a42cb333a4e6dc4f512c050b54b37fddcff7 /src/map/map.h
parent61ac274ddcc1307b86d31d152260bf6dcd1360c3 (diff)
downloadhercules-18282ae649b0c2d54deaba32132171cbf56a1868.tar.gz
hercules-18282ae649b0c2d54deaba32132171cbf56a1868.tar.bz2
hercules-18282ae649b0c2d54deaba32132171cbf56a1868.tar.xz
hercules-18282ae649b0c2d54deaba32132171cbf56a1868.zip
- Volcano/Deluge/Violent Gale are now interchangeable, in the sense that as long as one of these is out, casting any of the three will not consume gems, and will use the remaining time of the previous one. In turn, Land Protector will now always consume gems on every cast.
- Small cleanup in the Land protector code which may fix it not blocking AoE skills. - Fixed the interpretation of "head_dir". Removed setting head_dir to match character direction in the whole code. Now it is only reset to 0 (look forward) when unit_setpos is invoked, or when a character begins walking. Thanks to FlavioJS for figuring out how the client parses the head direction. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9206 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 270cb549b..b9a21036f 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -623,7 +623,7 @@ struct map_session_data {
int fd;
unsigned short mapindex;
unsigned short prev_speed,prev_adelay;
- unsigned char head_dir;
+ unsigned char head_dir; //0: Look forward. 1: Look right, 2: Look left.
unsigned int client_tick;
int npc_id,areanpc_id,npc_shopid;
int npc_item_flag; //Marks the npc_id with which you can use items during interactions with said npc (see script command enable_itemuse)