Goes through our destroyable light list and actually kills all the lights
| 2236 | |
| 2237 | // Goes through our destroyable light list and actually kills all the lights |
| 2238 | void DoDestroyedLightsForFrame() { |
| 2239 | int i; |
| 2240 | for (i = 0; i < Num_destroyed_lights_this_frame; i++) { |
| 2241 | int roomnum = Destroyed_light_rooms_this_frame[i]; |
| 2242 | int facenum = Destroyed_light_faces_this_frame[i]; |
| 2243 | DestroyLight(roomnum, facenum); |
| 2244 | } |
| 2245 | |
| 2246 | Num_destroyed_lights_this_frame = 0; |
| 2247 | } |
no test coverage detected