mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Remove superfluous variable
This commit is contained in:
@@ -1594,8 +1594,7 @@ void CalculateFortify()
|
|||||||
// simply get all fortified gridnos and colour them
|
// simply get all fortified gridnos and colour them
|
||||||
const auto vec = GetAllForticationGridNo();
|
const auto vec = GetAllForticationGridNo();
|
||||||
|
|
||||||
auto itend = vec.end();
|
for ( auto it = vec.begin(); it != vec.end(); ++it )
|
||||||
for ( auto it = vec.begin(); it != itend; ++it )
|
|
||||||
{
|
{
|
||||||
const auto sGridNo = (*it).first;
|
const auto sGridNo = (*it).first;
|
||||||
const auto bOverlayType = (*it).second.first;
|
const auto bOverlayType = (*it).second.first;
|
||||||
|
|||||||
Reference in New Issue
Block a user