diff options
Diffstat (limited to '')
| -rw-r--r-- | src/studio.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/studio.cpp b/src/studio.cpp index d472fbc..a1aae12 100644 --- a/src/studio.cpp +++ b/src/studio.cpp | |||
| @@ -204,10 +204,8 @@ void *chams_material() { | |||
| 204 | return g_chams_mat; | 204 | return g_chams_mat; |
| 205 | g_chams_mat_tried = true; | 205 | g_chams_mat_tried = true; |
| 206 | g_chams_mat = world_find_material("models/debug/debugwhite"); | 206 | g_chams_mat = world_find_material("models/debug/debugwhite"); |
| 207 | if (g_chams_mat) | 207 | if (!g_chams_mat) |
| 208 | logf("chams: material models/debug/debugwhite = %p", g_chams_mat); | 208 | logf("chams: no usable material"); |
| 209 | else | ||
| 210 | logf("chams: models/debug/debugwhite not found"); | ||
| 211 | return g_chams_mat; | 209 | return g_chams_mat; |
| 212 | } | 210 | } |
| 213 | 211 | ||
