mirror of
https://github.com/zeldaret/tmc
synced 2026-07-09 14:55:35 -04:00
Remove boolcast uses from code
This commit is contained in:
@@ -54,11 +54,11 @@ void sub_0809EA80(Entity* this) {
|
||||
}
|
||||
|
||||
void sub_0809EABC(Entity* this) {
|
||||
bool32 anySet;
|
||||
u32 f;
|
||||
bool32 anySet = 0;
|
||||
|
||||
f = CheckFlags(this->field_0x86.HWORD);
|
||||
anySet = BOOLCAST(f);
|
||||
if (CheckFlags(this->field_0x86.HWORD)) {
|
||||
anySet = 1;
|
||||
}
|
||||
if (this->frameIndex != anySet) {
|
||||
this->frameIndex = anySet;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user