They stop fighting because some counter overflows, and there's no guard for it causing the application to crash. I'm sure there's smart people - or even Carmack himself - that can find the relevant code (actually, is the bot code open source or just the Quake 3 engine)?