MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Remove

Method Remove

Source/Utils/micropather.cpp:188–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 void Remove( PathNode* pNode )
189 {
190 #ifdef DEBUG_PATH_DEEP
191 printf( "Closed remove: " );
192 graph->PrintStateInfo( pNode->state );
193 printf( " total=%.1f\n", pNode->totalCost );
194 #endif
195 MPASSERT( pNode->inClosed == 1 );
196 MPASSERT( pNode->inOpen == 0 );
197
198 pNode->inClosed = 0;
199 }
200
201 private:
202 ClosedSet( const ClosedSet& );

Callers

nothing calls this directly

Calls 1

PrintStateInfoMethod · 0.80

Tested by

no test coverage detected