aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_cel.cpp
diff options
context:
space:
mode:
authorwhitertandrek2018-03-27 13:53:03 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitc37bd09354cb233404bec5aed6ded79412650cef (patch)
tree015edd054870708458b653a473809b4f835d15d4 /engines/pink/objects/actions/action_cel.cpp
parent17c2bcfb948a24f9a1d99eeac85f799d45549d9f (diff)
downloadscummvm-rg350-c37bd09354cb233404bec5aed6ded79412650cef.tar.gz
scummvm-rg350-c37bd09354cb233404bec5aed6ded79412650cef.tar.bz2
scummvm-rg350-c37bd09354cb233404bec5aed6ded79412650cef.zip
PINK: implemented drawing of transparent drawing, but it seems that original handles this a bit different.(intro of Peril first sprite keeps transparent colour index somewhere else)
Diffstat (limited to 'engines/pink/objects/actions/action_cel.cpp')
-rw-r--r--engines/pink/objects/actions/action_cel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_cel.cpp b/engines/pink/objects/actions/action_cel.cpp
index dc18ee3a39..312ae31a1d 100644
--- a/engines/pink/objects/actions/action_cel.cpp
+++ b/engines/pink/objects/actions/action_cel.cpp
@@ -43,6 +43,8 @@ void ActionCEL::deserialize(Archive &archive) {
void ActionCEL::start(bool unk) {
if (!_decoder)
_decoder = _actor->getPage()->loadCel(_fileName);
+ //if (_fileName =="IT01PP01.CEL")
+ // initPallete(_actor->getPage()->getGame()->getDirector());
_actor->getPage()->getGame()->getDirector()->addSprite(this);
this->onStart();
}