Apply feedback

This commit is contained in:
CovenEsme
2025-05-27 15:06:53 +01:00
parent e4bdb9dd96
commit 18785a094d
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ public:
group_type = m_tmpCtData.group_type;
}
inline u32 getFromParams(u8 shift, u32 mask) {
u32 getFromParams(u8 shift, u32 mask) {
return (params >> shift) & mask;
}
+2 -3
View File
@@ -20,11 +20,10 @@ int dAcOdistantShip_c::create() {
// Sure, why not
mIsVisible = false;
u32 p = params;
u16 r = (s32)roomid;
u16 r = getRoomId();
mSubtype = (p >> 8) & 0xF;
bool flag = SceneflagManager::sInstance->checkFlag(r, p & 0xFF);
if (flag) {
if (SceneflagManager::sInstance->checkBoolFlag(r, p & 0xFF)) {
mIsVisible = true;
}