diff options
Diffstat (limited to 'src/world.cpp')
| -rw-r--r-- | src/world.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp index 0de86c6..d7023c7 100644 --- a/src/world.cpp +++ b/src/world.cpp | |||
| @@ -217,6 +217,11 @@ bool apply_tint(int world_r, int world_g, int world_b, int sky_r, int sky_g, | |||
| 217 | } else if (is_prop_material(name)) { | 217 | } else if (is_prop_material(name)) { |
| 218 | mod_fn(mat, pr, pg, pb); | 218 | mod_fn(mat, pr, pg, pb); |
| 219 | prop_hits++; | 219 | prop_hits++; |
| 220 | static int crate_logs = 0; | ||
| 221 | if (crate_logs < 8 && strstr(name, "crate")) { | ||
| 222 | crate_logs++; | ||
| 223 | logf("tint: prop material \"%s\"", name); | ||
| 224 | } | ||
| 220 | } | 225 | } |
| 221 | } | 226 | } |
| 222 | logf("tint: applied world=%d(%d,%d,%d) sky=%d(%d,%d,%d) props=%d(%d,%d,%d) " | 227 | logf("tint: applied world=%d(%d,%d,%d) sky=%d(%d,%d,%d) props=%d(%d,%d,%d) " |
