Fix needing -fpermissive
FossilOrigin-Name: bd82b5a5b17fdeacf6b3133104b958a1597e5e16379280cf0bcfef7e7fef1468
This commit is contained in:
parent
ea315c4a21
commit
04fa50a332
11 changed files with 20 additions and 18 deletions
|
@ -226,8 +226,8 @@ dodynlight(vec &vold, vec &v, int reach, int strength, dynent *owner)
|
|||
|
||||
dlights.add(blockcopy(b)); // backup area before rendering in dynlight
|
||||
|
||||
persistent_entity l = {
|
||||
(int)v.x, (int)v.y, (int)v.z, reach, LIGHT, strength, 0, 0};
|
||||
persistent_entity l = {(short)v.x, (short)v.y, (short)v.z, (short)reach,
|
||||
LIGHT, (uchar)strength, 0, 0};
|
||||
calclightsource(l);
|
||||
postlightarea(b);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue