aboutsummaryrefslogtreecommitdiff
path: root/saga/sprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/sprite.cpp')
-rw-r--r--saga/sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sprite.cpp b/saga/sprite.cpp
index 0db7a62a21..3ded76cd57 100644
--- a/saga/sprite.cpp
+++ b/saga/sprite.cpp
@@ -319,7 +319,7 @@ int Sprite::drawOccluded(R_SURFACE *ds, R_SPRITELIST *sprite_list, int sprite_nu
// Create actor Z occlusion LUT
_vm->_scene->getZInfo(&zinfo);
- e_slope = zinfo.end_slope;
+ e_slope = zinfo.endSlope;
for (i = 0; i < R_SPRITE_ZMAX; i++) {
z_lut[i] = (int)(e_slope + ((137.0 - e_slope) / 14.0) * (15.0 - i));