From ecafc1687513de35d080a9b4be14022e885a95e1 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 1 Oct 2011 10:33:47 +0200 Subject: added experimental support for metadata overrides. for example field "!NAME" will override field ":NAME", but will not be stored so after player restart, the field will be restored to original :NAME --- metacache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'metacache.c') diff --git a/metacache.c b/metacache.c index 13616516..e7fa1619 100644 --- a/metacache.c +++ b/metacache.c @@ -117,7 +117,7 @@ metacache_remove_string (const char *str) { void metacache_ref (const char *str) { - uint32_t *refc = (uint32_t)(str-5); + uint32_t *refc = (uint32_t *)(str-5); *refc++; } -- cgit v1.2.3