diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 368b687c41..2d0b23b328 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -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) diff --git a/src/map/script.c b/src/map/script.c index b70ff96345..cfe0ce1b03 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -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 '.': {