aboutsummaryrefslogtreecommitdiff
path: root/saga/sprite.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-08-11 18:02:03 +0000
committerEugene Sandulenko2004-08-11 18:02:03 +0000
commit39137da10d4c8c18c0c0a6b30351459d1654a6c2 (patch)
tree6793ad218d6b01a4634abf0154bd6972001bbf0a /saga/sprite.cpp
parent23d5d1fb8235ced4e29bb0b771ba6aa972a46ad1 (diff)
downloadscummvm-rg350-39137da10d4c8c18c0c0a6b30351459d1654a6c2.tar.gz
scummvm-rg350-39137da10d4c8c18c0c0a6b30351459d1654a6c2.tar.bz2
scummvm-rg350-39137da10d4c8c18c0c0a6b30351459d1654a6c2.zip
Fix scene description structure data types and rename it.
svn-id: r14556
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));