mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-08 20:20:04 -04:00
Match daNpc_Bs1_c::CreateInit and cLib_minMaxLimit inline
This commit is contained in:
@@ -100,7 +100,7 @@ s32 daObj_Roten_c::_create() {
|
||||
fopAcM_SetupActor(this, daObj_Roten_c);
|
||||
|
||||
mType = fopAcM_GetParam(this) >> 0x18;
|
||||
mType = cLib_minMaxLimit<u8>((int)mType, 0, 2); // fakematch? debug says this is templated to u8
|
||||
mType = cLib_minMaxLimit<u8>(mType, 0, 2);
|
||||
|
||||
if(Roten_create_check(mType)) {
|
||||
field_0x2D1 = 0;
|
||||
|
||||
Reference in New Issue
Block a user