CGE: Move hero shadow check inside hero check in sceneUp()

This commit is contained in:
Strangerke 2014-03-02 20:02:58 +01:00
parent 3c41d9b9cb
commit bc58a42574

View File

@ -656,7 +656,7 @@ void CGEEngine::sceneUp() {
_vga->copyPage(0, 1);
selectPocket(-1);
if (_hero)
if (_hero) {
_vga->_showQ->insert(_vga->_showQ->remove(_hero));
if (_shadow) {
@ -665,6 +665,7 @@ void CGEEngine::sceneUp() {
_vga->_showQ->insert(_shadow, _hero);
_shadow->_z = _hero->_z;
}
}
feedSnail(_vga->_showQ->locate(BakRef + 999), kTake);
_vga->show();
_vga->copyPage(1, 0);