aboutsummaryrefslogtreecommitdiff
path: root/scumm/base-costume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/base-costume.cpp')
-rw-r--r--scumm/base-costume.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/base-costume.cpp b/scumm/base-costume.cpp
index 8c3fe18ba7..b8609aaf49 100644
--- a/scumm/base-costume.cpp
+++ b/scumm/base-costume.cpp
@@ -90,6 +90,8 @@ bool ScummEngine::isCostumeInUse(int cost) const {
void ScummEngine::costumeDecodeData(Actor *a, int frame, uint usemask) {
if (_features & GF_NEW_COSTUMES)
akos_decodeData(a, frame, usemask);
+ else if (_features & GF_NES)
+ NES_cost_decodeData(a, frame, usemask);
else
cost_decodeData(a, frame, usemask);
}