summaryrefslogtreecommitdiff
path: root/src/map/path.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-10 10:52:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-10 10:52:30 +0000
commita609841386e0eaa2b063a318d698e60fe21f02de (patch)
tree3edbb47eed62164a96d67b67fa8d7ceda3559787 /src/map/path.c
parent76192f96dda6a98ce9c05027230dea33990dc392 (diff)
downloadhercules-a609841386e0eaa2b063a318d698e60fe21f02de.tar.gz
hercules-a609841386e0eaa2b063a318d698e60fe21f02de.tar.bz2
hercules-a609841386e0eaa2b063a318d698e60fe21f02de.tar.xz
hercules-a609841386e0eaa2b063a318d698e60fe21f02de.zip
- added proper comments to login packet 0x277
- added a missing \n to one login server warning - silenced one "dc[4] might be uninitialized" warning - fixed an apparently wrong abra_db.txt entry (venom splasher: 40000) - removed .gat from the remaining npcs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10974 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/path.c')
-rw-r--r--src/map/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/path.c b/src/map/path.c
index d79238b87..471e51e71 100644
--- a/src/map/path.c
+++ b/src/map/path.c
@@ -380,7 +380,7 @@ int path_search_real(struct walkpath_data *wpd,int m,int x0,int y0,int x1,int y1
xs = md->xs-1; // あらかじめ1減算しておく
ys = md->ys-1;
while(1){
- int e=0,f=0,dist,cost,dc[4];
+ int e=0,f=0,dist,cost,dc[4]={0,0,0,0};
if(heap[0]==0)
return -1;