diff -r f540f1fb6bd9 -r 2e1e4d2f71dd src/ai/ai.cpp --- a/src/ai/ai.cpp Sun May 25 20:00:10 2008 +0000 +++ b/src/ai/ai.cpp Sun May 25 22:36:44 2008 +0000 @@ -184,8 +184,8 @@ _ai.tick++; /* Make sure the AI follows the difficulty rule.. */ - assert(_opt.diff.competitor_speed <= 4); - if ((_ai.tick & ((1 << (4 - _opt.diff.competitor_speed)) - 1)) != 0) return; + assert(_settings.difficulty.competitor_speed <= 4); + if ((_ai.tick & ((1 << (4 - _settings.difficulty.competitor_speed)) - 1)) != 0) return; /* Check for AI-client (so joining a network with an AI) */ if (!_networking || _network_server) {