Skip to content

Commit

Permalink
Avoid double counting freeIds in CGroundDecalHandler::DeleteLuaDecal()
Browse files Browse the repository at this point in the history
  • Loading branch information
lhog committed Sep 4, 2024
1 parent f94a61d commit cf724c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rts/Rendering/Env/Decals/GroundDecalHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,6 @@ bool CGroundDecalHandler::DeleteLuaDecal(uint32_t id)

decal.MarkInvalid();
decalsUpdateList.SetUpdate(it->second);
freeIds.push_back(decal.info.id);

return true;
}
Expand Down

0 comments on commit cf724c2

Please sign in to comment.