mirror of
https://github.com/zeldaret/tp
synced 2026-08-11 03:26:25 -04:00
more misc. cleanup (#2232)
This commit is contained in:
@@ -12,8 +12,7 @@ int daObjGraWall_c::Create() {
|
||||
field_0x6e0 = fopAcM_GetParam(this);
|
||||
|
||||
if (field_0x6e0 != 0xff) {
|
||||
int roomNo = fopAcM_GetRoomNo(this);
|
||||
if (dComIfGs_isSwitch(field_0x6e0, roomNo) != 0) {
|
||||
if (dComIfGs_isSwitch(field_0x6e0, fopAcM_GetRoomNo(this)) != 0) {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
} else {
|
||||
@@ -129,4 +128,4 @@ extern actor_process_profile_definition g_profile_GRA_WALL = {
|
||||
0x40000,
|
||||
fopAc_ACTOR_e,
|
||||
fopAc_CULLBOX_CUSTOM_e,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user