mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-13 04:09:09 +00:00
game: init uninitialized variables
This commit is contained in:
@@ -199,7 +199,7 @@ public:
|
||||
unsigned int operator()( const NavVisPair_t &item ) const
|
||||
{
|
||||
COMPILE_TIME_ASSERT( sizeof(CNavArea *) == 4 );
|
||||
int key[2] = { (int)item.pAreas[0] + item.pAreas[1]->GetID(), (int)item.pAreas[1] + item.pAreas[0]->GetID() };
|
||||
int key[2] = { (int)(item.pAreas[0] + item.pAreas[1]->GetID()), (int)(item.pAreas[1] + item.pAreas[0]->GetID()) };
|
||||
return Hash8( key );
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user