boe.actions.cpp is now mostly warning-free

This commit is contained in:
Sylae Corell
2014-07-30 11:07:36 -06:00
parent 26971cf0c8
commit 9a8f37b817
3 changed files with 2 additions and 4 deletions

View File

@@ -2954,12 +2954,10 @@ void set_up_lights() {
short i, j, rad;
location where, l;
short num_lights = 0;
Boolean where_lit[64][64];
short max_dim[3] = {64, 48, 32}; // Town sizes from Scenario Editor blscened.cpp:82
// Find bonfires, braziers, etc.
num_lights = 0;
for(i = 0; i < 64; i++)
for(j = 0; j < 64; j++)
where_lit[i][j] = 0;