| 1262 | #ifdef WP_FLOOD |
| 1263 | |
| 1264 | void 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 | |
| 1275 | void CWaypointClass::FloodThink() |
| 1276 | { |