]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix the weapon load check from last commit. You can no longer switch to a weapon...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 22 Jan 2011 22:33:15 +0000 (00:33 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 22 Jan 2011 22:33:15 +0000 (00:33 +0200)
commitf4cb195c73f4d8b7d90228f93a3f29236d8ae1f2
treeb2e490e435d745e645237503e780effb0ef8dc5f
parentff4228d3721eb308535f5a2f53a368d58ab2e3aa
Fix the weapon load check from last commit. You can no longer switch to a weapon if you have neither enough load in it to use it, nor enough ammo to reload it to an usable point. The weapon list is kinda ugly code-wise, but only way I found so far to do this.
qcsrc/server/cl_weaponsystem.qc