/* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
#ifndef VRS_USECAMMPM\r
vrl_line_offsets[i] = vrl1_vgax_genlineoffsets(curr_vrl, (byte *)curr_vrl + sizeof(struct vrl1_vgax_header), vrl_size);\r
#else\r
- enti->spri.spritesheet.vrl_line_offsets[i] = vrl1_vgax_genlineoffsets(curr_vrl, (byte *)curr_vrl + sizeof(struct vrl1_vgax_header), vrl_size);\r
+ enti->spri.spritesheet.vrl_line_offsets[i] = vrl1_vgax_genlineoffsets((struct vrl1_vgax_header *)curr_vrl, (byte *)curr_vrl + sizeof(struct vrl1_vgax_header), vrl_size);\r
#endif\r
}\r
#ifndef VRS_USECAMMPM\r
spri->curr_spri_id = anim_list[0].sprite_id;\r
spri->delay = anim_list[0].delay;\r
\r
- spri->curr_anim_list = anim_list;\r
+ spri->curr_anim_list = (struct vrs_animation_list_entry_t *)anim_list;\r
}\r
\r
int set_anim_by_id(struct sprite *spri, int anim_id)\r