massive shield infrastructure commit

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4008 387891d4-d844-0410-90c0-e4c51a9137d3
This commit is contained in:
Goober5000 authored and niffiwan committed 2015-04-29 18:42:52 +10:00
1 parent 2f39ad1a2a
commit 42ab4d6622
35 files changed
+726 -657

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ static PyObject* py_lib_gr_set_color(PyObject *self, PyObject *args)
PyArg_ParseTuple(args, "iii|i", &rgba[0], &rgba[1], &rgba[2], &rgba[3]);
//Check
for(int i = 0; i < 4; i++)
for(int i = 0; i < MAX_SHIELD_SECTIONS; i++)
{
if(rgba[i] > 255)
rgba[i] = 255;