From 4e130204aef7ee8d6b13f4928589dc5e408edaf8 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 16 Sep 2007 21:34:50 +0000 Subject: (svn r11121) -Fix: clear the temporary NewGRF storage every time we perform a callback so it cannot cause desyncs. --- src/newgrf_spritegroup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_spritegroup.h') diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index e91846097..f1b17cbbe 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -243,7 +243,7 @@ struct ResolverObject { /* Base sprite group resolver */ -const SpriteGroup *Resolve(const SpriteGroup *group, ResolverObject *object); +const SpriteGroup *Resolve(const SpriteGroup *group, ResolverObject *object, bool first_call = true); #endif /* NEWGRF_SPRITEGROUP_H */ -- cgit v1.2.3-70-g09d2