]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a small note
authorMario <mario@smbclan.net>
Tue, 9 Aug 2016 01:42:40 +0000 (11:42 +1000)
committerMario <mario@smbclan.net>
Tue, 9 Aug 2016 01:42:40 +0000 (11:42 +1000)
qcsrc/server/bot/default/scripting.qc

index 8b2f9e6d1e8384bfa4af6d227a94e8f30db38173..349dc1cdcb0c8eefb55795a904222407477c3746 100644 (file)
@@ -1058,7 +1058,7 @@ float bot_cmd_debug_assert_canfire(entity this)
 {
        float f = bot_cmd.bot_cmd_parm_float;
 
-       int slot = 0;
+       int slot = 0; // TODO: unhardcode?
        .entity weaponentity = weaponentities[slot];
        if(this.(weaponentity).state != WS_READY)
        {