A Bunch of miscellaneous refactoring

This commit is contained in:
2024-09-24 22:13:56 -04:00
parent 0b7049cf5a
commit a295ff5e53
13 changed files with 33 additions and 36 deletions

View File

@@ -77,16 +77,6 @@ TanArray UlxTangibleManager::GetAllTangibles() const {
return result;
}
bool UlxTangibleManager::SetPossessedTangible(int64 id) {
UlxTangible *t = GetTangible(id);
if ((t == nullptr) || (t->GetActor() == nullptr)) {
t = nullptr;
}
bool changed = (t != PossessedTangible);
PossessedTangible = t;
return changed;
}
#pragma optimize("", off)
void UlxTangibleManager::UpdateNearAccordingToLuprex(IdView near) {
// Clear all the 'NearAccordingToLuprex' flags.