diff Render.cpp @ 1496:ab6bf38b2940

UIGame.cpp cleaning(continue)
author Ritor1
date Sun, 01 Sep 2013 17:10:29 +0600
parents 934074e7fcc1
children 19890e50e2f6
line wrap: on
line diff
--- a/Render.cpp	Fri Aug 30 01:49:29 2013 +0600
+++ b/Render.cpp	Sun Sep 01 17:10:29 2013 +0600
@@ -7359,20 +7359,13 @@
 }
 
 //----- (004A6A68) --------------------------------------------------------
-void Render::_4A6A68(unsigned int a2, unsigned int a3, Texture *a4, __int16 height)
-{
-  Render *v5; // ebx@1
-  unsigned __int16 v6; // ax@1
-
-  v5 = this;
-
+void Render::GetLeather(unsigned int a2, unsigned int a3, Texture *a4, __int16 height)
+{
   Texture tex; // [sp+Ch] [bp-48h]@1
-  //Texture::Texture(&tex);
-
-  v6 = a4->uTextureHeight - height;
+
   memcpy(&tex, a4, sizeof(tex));
-  tex.uTextureHeight = v6;
-  if ( (signed __int16)v6 > 0 )
+  tex.uTextureHeight = a4->uTextureHeight - height;
+  if ( (signed __int16)tex.uTextureHeight > 0 )
     DrawTextureIndexed(a2, a3, &tex);
 }