summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-12-02 17:24:31 +0100
committerHaru <haru@dotalux.com>2013-12-02 17:26:44 +0100
commitff5779033a7d45bbd306b2bf62759152a72cbe79 (patch)
tree28f1132eab6bd571f181509ccfaa9e5a1da685a5 /src/map/script.h
parent95581cedd9a89d8eac918bdc77c1a98e017abc46 (diff)
downloadhercules-ff5779033a7d45bbd306b2bf62759152a72cbe79.tar.gz
hercules-ff5779033a7d45bbd306b2bf62759152a72cbe79.tar.bz2
hercules-ff5779033a7d45bbd306b2bf62759152a72cbe79.tar.xz
hercules-ff5779033a7d45bbd306b2bf62759152a72cbe79.zip
Fixed an uninitialized variable / broken code.
- Follow up to c6c2ad187c386d8d27d3336dcbdd5a92555493d2 - Special thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 4d2c59d92..17120cd87 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -452,7 +452,7 @@ struct casecheck_data {
int str_size; // size of the buffer
int str_pos; // next position to be assigned
int str_hash[SCRIPT_HASH_SIZE];
- bool (*add_str) (const char* p);
+ const char *(*add_str) (const char* p);
void (*clear) (void);
};