mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
Remove explicit truth tests
This commit is contained in:
@@ -125,7 +125,7 @@ void LegoTextureContainer::EraseFromList(LegoTextureInfo* p_textureInfo)
|
||||
if ((*it).first == p_textureInfo) {
|
||||
(*it).second = FALSE;
|
||||
|
||||
if (p_textureInfo->m_texture->Release() == TRUE) {
|
||||
if (p_textureInfo->m_texture->Release()) {
|
||||
delete p_textureInfo;
|
||||
m_list.erase(it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user