diff LOD.h @ 956:e9292c58644a

Слияние
author Ritor1
date Thu, 02 May 2013 11:03:26 +0600
parents 0d96349d8c87
children 08fd1436ef35
line wrap: on
line diff
--- a/LOD.h	Thu May 02 11:02:48 2013 +0600
+++ b/LOD.h	Thu May 02 11:03:26 2013 +0600
@@ -162,8 +162,7 @@
   inline Texture *GetTexture(int idx)
   {
     assert(idx < 1000);
-    if (idx == -1)
-      return nullptr;
+    if (idx == -1) return nullptr; // we need to return dummy texture here
     return pTextures + idx;
   }