cleaner decomp for sub_0809B7C0

This commit is contained in:
jorun 2021-11-30 18:04:53 +01:00
parent 43a22c5862
commit fc20ec78fc
No known key found for this signature in database
GPG Key ID: 730E05D27A4D5F02
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ void sub_0809B7A0(Entity* this) {
}
void sub_0809B7C0(Entity* this) {
if (GetTileTypeByEntity(this) - 0x4061 > 1) {
u32 tileType = GetTileTypeByEntity(this);
if (tileType != 0x4061 && tileType != 0x4062) {
sub_0809B7DC(this);
}
}