MCPcopy Create free account
hub / github.com/assaultcube/AC / StartFlood

Method StartFlood

source/src/bot/bot_waypoint.cpp:1264–1273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262#ifdef WP_FLOOD
1263
1264void CWaypointClass::StartFlood()
1265{
1266 if (m_bFlooding) return;
1267
1268 conoutf("Starting flood, this may take a while on large maps....");
1269 m_bFlooding = true;
1270 m_iFloodStartTime = SDL_GetTicks();
1271 m_iCurFloodX = m_iCurFloodY = MINBORD;
1272 m_iFloodSize = 0;
1273}
1274
1275void CWaypointClass::FloodThink()
1276{

Callers 2

wpfloodFunction · 0.80
BeginMapMethod · 0.80

Calls 1

conoutfFunction · 0.50

Tested by

no test coverage detected