Skip to content

Commit

Permalink
Update CClientWaterManager.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Marek Kulik <[email protected]>
  • Loading branch information
Lpsd and botder authored Jun 17, 2024
1 parent b1e8358 commit 2a5d1a7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Client/mods/deathmatch/logic/CClientWaterManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,8 @@ bool CClientWaterManager::SetAllElementWaterLevel(float fLevel, void* pChangeSou

bool CClientWaterManager::ResetAllElementWaterLevel()
{
list<CClientWater*>::const_iterator iter = m_List.begin();
for (; iter != m_List.end(); iter++)
{
(*iter)->ResetLevel();
}
for (CClientWater* pWater : m_List)
pWater->ResetLevel();
return true;
}

Expand Down

0 comments on commit 2a5d1a7

Please sign in to comment.