Decompile fn_13667 (NormalItemSlotWindow::IsValid)
Batch #13211 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_13667 NormalItemSlotWindow::IsValid: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
b3e75dc72d
commit
381f73a4eb
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,10 @@ void NormalItemSlotWindow::Reset() {
|
|||
// OFFSET: 0x009A6000
|
||||
// FUNCTION: fn_13667
|
||||
int NormalItemSlotWindow::IsValid() const {
|
||||
if (this->width != 290 || this->height > 175 || this->height < 43 || (this->height - 10) % 33 != 0 || (this->height == 175 && !g_session.ItemSlotActive())) {
|
||||
if (this->width != 290 || this->height > 175) {
|
||||
return 0;
|
||||
}
|
||||
if (this->height < 43 || (this->height - 10) % 33 != 0 || (this->height == 175 && !g_session.ItemSlotActive())) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue