Skip to content

Commit

Permalink
FADE TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jan 28, 2014
1 parent 74800d8 commit 5179dc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engines/nwn/situated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ void Situated::unloadModel() {
}

void Situated::setVisible(bool visible) {
if (_model)
if (_model) {
_model->fade(Graphics::kFadeDirectionInOut, 5.0, true);
_model->setVisible(visible);
}
}

void Situated::setPosition(float x, float y, float z) {
Expand Down

0 comments on commit 5179dc7

Please sign in to comment.