mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-16 07:55:13 -06:00
Refactored some code related to inv/sprite
This commit is contained in:
parent
77bfb744bc
commit
b57d5a0031
51 changed files with 686 additions and 625 deletions
|
|
@ -22,11 +22,11 @@ public final class Static266 {
|
|||
if (local19 != null && local19.layer == arg0) {
|
||||
Static150.method2801(arg3, arg2, local19, arg1);
|
||||
Static111.method2291(local19, arg3, arg2);
|
||||
if (local19.anInt486 - local19.anInt445 < local19.anInt489) {
|
||||
local19.anInt489 = local19.anInt486 - local19.anInt445;
|
||||
if (local19.anInt486 - local19.width < local19.anInt489) {
|
||||
local19.anInt489 = local19.anInt486 - local19.width;
|
||||
}
|
||||
if (local19.scrollY > local19.anInt491 - local19.anInt459) {
|
||||
local19.scrollY = local19.anInt491 - local19.anInt459;
|
||||
if (local19.scrollY > local19.anInt491 - local19.height) {
|
||||
local19.scrollY = local19.anInt491 - local19.height;
|
||||
}
|
||||
if (local19.scrollY < 0) {
|
||||
local19.scrollY = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue