diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-14 20:17:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-14 20:17:08 +0300 |
commit | 451ee8a3290d79614ce800ea36ebbc3884620b57 (patch) | |
tree | 1bfcf456ba6e345e5ac1aa3b00771399bc8f86b8 /src/emap/script.c | |
parent | 555d55b9f08d7f60a967c7d914933a92f31016bc (diff) | |
download | evol-hercules-451ee8a3290d79614ce800ea36ebbc3884620b57.tar.gz evol-hercules-451ee8a3290d79614ce800ea36ebbc3884620b57.tar.bz2 evol-hercules-451ee8a3290d79614ce800ea36ebbc3884620b57.tar.xz evol-hercules-451ee8a3290d79614ce800ea36ebbc3884620b57.zip |
Add ClientVersion constant parameter into code.release2016-03-15
Diffstat (limited to 'src/emap/script.c')
-rw-r--r-- | src/emap/script.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c index 4b60fe7..12e01e5 100644 --- a/src/emap/script.c +++ b/src/emap/script.c @@ -94,6 +94,13 @@ int escript_reload(void) return 0; } +void escript_load_parameters(void) +{ + script->constdb_comment("Evol parameters"); + script->set_constant("ClientVersion", 10000, true, false); + script->constdb_comment(NULL); +} + // stripped copy from script_load_translations without actual translation loading. void escript_load_translations(void) { |