diff LOD.h @ 945:0d96349d8c87

Restoring inlined methods
author Nomad
date Wed, 01 May 2013 14:09:49 +0200
parents bebc19f3d2af
children 08fd1436ef35
line wrap: on
line diff
--- a/LOD.h	Wed May 01 13:54:46 2013 +0200
+++ b/LOD.h	Wed May 01 14:09:49 2013 +0200
@@ -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;
   }