]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/bot.qc
Cleanse some uses of self in the bot code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / bot.qc
index 37079a33c32cf2da4ccf45a7c307849fee1d53ce..0b905dbbe6667fa604ee0d98aefe1bce6d07056b 100644 (file)
@@ -125,7 +125,7 @@ void bot_think()
                navigation_unstuck();
 
        // now call the current bot AI (havocbot for example)
-       self.bot_ai();
+       self.bot_ai(self);
 }
 
 void bot_setnameandstuff()