Fixed a copy-paste typo messing up script variables pretty bad D:

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10850 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-07-04 08:04:55 +00:00
parent 58584c511a
commit 4fced6485a
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/07/04
* Fixed a copy-paste typo messing up script variables pretty bad D:
2007/07/03
* Fixed a typo in script engine erroring when working with char params
* Made Homun Resurrection only fail on cast-end (see topic:155223)

View File

@ -2196,9 +2196,9 @@ int get_val(struct script_state* st, struct script_data* data)
break;
case '#':
if( name[1] == '#' )
data->u.str = pc_readaccountreg2str(sd, name);// global
data->u.num = pc_readaccountreg2(sd, name);// global
else
data->u.str = pc_readaccountregstr(sd, name);// local
data->u.num = pc_readaccountreg(sd, name);// local
break;
case '.':
{