diff Render.cpp @ 1837:303a56458f7b

viewing_angle
author Ritor1
date Fri, 11 Oct 2013 23:57:14 +0600
parents f017f8e79aa1
children 4359a15360e3
line wrap: on
line diff
--- a/Render.cpp	Fri Oct 11 18:55:43 2013 +0600
+++ b/Render.cpp	Fri Oct 11 23:57:14 2013 +0600
@@ -5164,7 +5164,7 @@
     v77 = (unsigned __int64)(v62.ptr_38->field_14 * (signed __int64)(signed int)v15) >> 16;
     v74 = v77 + v62.ptr_38->angle_from_north;
     v77 = (int)v15;
-    v77 = (unsigned __int64)(v62.ptr_38->field_20 * (signed __int64)(signed int)v15) >> 16;
+    v77 = (unsigned __int64)(v62.ptr_38->viewing_angle * (signed __int64)(signed int)v15) >> 16;
     v79 = v15;
     v75 = (RenderVertexSoft *)(v77 + v62.ptr_38->angle_from_east);
     v79 = (void *)((unsigned __int64)(v62.v_18.z * (signed __int64)(signed int)v15) >> 16);
@@ -5281,7 +5281,7 @@
     v36 = (int)((char *)v81 + v62.ptr_38->angle_from_north);
     v81 = v35;
     v74 = v36;
-    v78 = v62.ptr_38->field_20;
+    v78 = v62.ptr_38->viewing_angle;
     v81 = (const void *)((unsigned __int64)(v78 * (signed __int64)(signed int)v35) >> 16);
     v78 = (int)v35;
     v75 = (RenderVertexSoft *)((char *)v81 + v62.ptr_38->angle_from_east);