diff options
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r-- | saga/scene.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp index fd0c5c19c6..8d3b39edfc 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -317,13 +317,9 @@ int Scene::getMode() { return _sceneMode; } -int Scene::getZInfo(SCENE_ZINFO *zinfo) { - assert(_initialized); - - zinfo->beginSlope = _desc.beginSlope; - zinfo->endSlope = _desc.endSlope; - - return SUCCESS; +void Scene::getSlopes(int &beginSlope, int &endSlope) { + beginSlope = ITE_STATUS_Y - _desc.beginSlope; // fixme: implement also IHNM_STATUS_Y + endSlope = ITE_STATUS_Y - _desc.endSlope; } int Scene::getBGInfo(SCENE_BGINFO *bginfo) { |