mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
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:
1 parent
2f39ad1a2a
commit
42ab4d6622
35 files changed
+726
-657
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user