summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-03 19:26:08 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-03 19:26:08 +0000
commit627c92076b85d597bc10e7e4f7642c9c5e235b49 (patch)
tree0bcc35cea44ac743914530e9f75311292ab1e016 /src
parentc23be7c7b9301b0582f12d57e0ce9969389ee48b (diff)
downloadhercules-627c92076b85d597bc10e7e4f7642c9c5e235b49.tar.gz
hercules-627c92076b85d597bc10e7e4f7642c9c5e235b49.tar.bz2
hercules-627c92076b85d597bc10e7e4f7642c9c5e235b49.tar.xz
hercules-627c92076b85d597bc10e7e4f7642c9c5e235b49.zip
Fixed a typo in script engine erroring when working with char params
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10848 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 9e909cadb..b70ff9634 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -2114,7 +2114,7 @@ int get_val(struct script_state* st, struct script_data* data)
postfix = name[strlen(name) - 1];
//##TODO use reference_tovariable(data) when it's confirmed that it works [FlavioJS]
- if( !reference_toconstant(data) && !reference_toparam(data) && not_server_variable(prefix) )
+ if( !reference_toconstant(data) && not_server_variable(prefix) )
{
sd = script_rid2sd(st);
if( sd == NULL )