Debug: Change interfaces using SpriteGroupDumper
Pass SpriteGroupDumper ref instead of print function Make use_shadows non-static
This commit is contained in:
@@ -639,7 +639,7 @@ void TriggerObjectAnimation(Object *o, ObjectAnimationTrigger trigger, const Obj
|
||||
}
|
||||
}
|
||||
|
||||
void DumpObjectSpriteGroup(const ObjectSpec *spec, DumpSpriteGroupPrinter print)
|
||||
void DumpObjectSpriteGroup(const ObjectSpec *spec, SpriteGroupDumper &dumper)
|
||||
{
|
||||
DumpSpriteGroup(spec->grf_prop.spritegroup[0], std::move(print));
|
||||
dumper.DumpSpriteGroup(spec->grf_prop.spritegroup[0], 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user