diff options
-rw-r--r-- | engines/cge2/snail.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index 3de42ddfc0..45ca715d26 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -327,7 +327,11 @@ void CGE2Engine::snKill(Sprite *spr) { } void CGE2Engine::snHide(Sprite *spr, int val) { - warning("STUB: CGE2Engine::snHide()"); + if (spr) { + spr->_flags._hide = (val >= 0) ? (val != 0) : (!spr->_flags._hide); + if (spr->_flags._shad) + spr->_prev->_flags._hide = spr->_flags._hide; + } } void CGE2Engine::snMidi(int val) { |