update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@743 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
cadeae2a48
commit
082fd563ec
@ -1,5 +1,6 @@
|
|||||||
Date Added
|
Date Added
|
||||||
12/22
|
12/22
|
||||||
|
* Fixed a bug in grfio_read causing memory corruptions [MouseJstr]
|
||||||
* Rearranged how guild messages, gm messages, and party messages
|
* Rearranged how guild messages, gm messages, and party messages
|
||||||
are moved back and forth between the inter server and the
|
are moved back and forth between the inter server and the
|
||||||
map server.. eliminating unneeded round trips to eliminate
|
map server.. eliminating unneeded round trips to eliminate
|
||||||
|
@ -492,8 +492,10 @@ void* grfio_reads(char *fname, int *size)
|
|||||||
strncpy(lfname,fname,255);
|
strncpy(lfname,fname,255);
|
||||||
// i hope this is the correct way =p [celest]
|
// i hope this is the correct way =p [celest]
|
||||||
if ((rname=grfio_resnametable(fname,lfname))!=NULL) {
|
if ((rname=grfio_resnametable(fname,lfname))!=NULL) {
|
||||||
|
char tbuf[255];
|
||||||
//sprintf(rname,"%s",grfio_resnametable(fname,lfname));
|
//sprintf(rname,"%s",grfio_resnametable(fname,lfname));
|
||||||
sprintf(lfname,"%s%s",data_dir,rname);
|
sprintf(tbuf,"%s%s",data_dir,rname);
|
||||||
|
strcpy(lfname, tbuf);
|
||||||
//printf("%s\n",lfname);
|
//printf("%s\n",lfname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user