Fixed a few warnings.
This commit is contained in:
parent
c948a59391
commit
a176617318
6 changed files with 15 additions and 14 deletions
|
@ -465,7 +465,8 @@ LIGHTBLOCK* AddLightBlock(DISPLAYBLOCK *dptr, LIGHTBLOCK *lptr_to_add)
|
|||
lfree = No;
|
||||
|
||||
larrayptr = &dptr->ObLights[0];
|
||||
|
||||
freelarrayptr = NULL;
|
||||
|
||||
for(i = MaxObjectLights; i!=0 && lfree == No; i--) {
|
||||
|
||||
if(*larrayptr == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue