A Bunch of miscellaneous refactoring
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user