[Scummvm-git-logs] scummvm master -> d36566e6d059446e70767b225730ce55137d033e
whiterandrek
whiterandrek at gmail.com
Thu May 21 08:46:26 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d36566e6d0 PETKA: fix drawing map objects when starting map more than 1 time
Commit: d36566e6d059446e70767b225730ce55137d033e
https://github.com/scummvm/scummvm/commit/d36566e6d059446e70767b225730ce55137d033e
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2020-05-21T11:46:11+03:00
Commit Message:
PETKA: fix drawing map objects when starting map more than 1 time
Changed paths:
engines/petka/interfaces/map.cpp
diff --git a/engines/petka/interfaces/map.cpp b/engines/petka/interfaces/map.cpp
index 88b44db084..980622c6d8 100644
--- a/engines/petka/interfaces/map.cpp
+++ b/engines/petka/interfaces/map.cpp
@@ -39,6 +39,8 @@ void InterfaceMap::start(int id) {
if (!g_vm->getQSystem()->_room->_showMap)
return;
+ _objs.clear();
+
QObjectBG *bg = (QObjectBG *)g_vm->getQSystem()->findObject(mapName);
_roomResID = bg->_resourceId;
_objs.push_back(bg);
More information about the Scummvm-git-logs
mailing list