Skip to content

Commit 324c7fd

Browse files
committed
xParSys: Match using_ptank_render
1 parent d4d97ae commit 324c7fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SB/Core/x/xParSys.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ void xParSysRender(xBase* b);
6060
S32 xParSysEventCB(xBase*, xBase*, U32, const F32*, xBase*);
6161
void xParSysUpdate(xBase* to, xScene*, F32 dt);
6262

63-
U8 using_ptank_render(const xParSysAsset&);
63+
bool using_ptank_render(const xParSysAsset& tasset)
64+
{
65+
return (tasset.parFlags >> 7) & 0x1;
66+
}
6467

6568
#endif

0 commit comments

Comments
 (0)