aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/inventory.h')
-rw-r--r--engines/parallaction/inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/inventory.h b/engines/parallaction/inventory.h
index a3b7bf953f..d5cf8badf0 100644
--- a/engines/parallaction/inventory.h
+++ b/engines/parallaction/inventory.h
@@ -108,7 +108,7 @@ public:
void highlightItem(ItemPosition pos, byte color);
void drawItem(ItemName name, byte *buffer, uint pitch);
- byte* getData() const { return (byte *)_surf.pixels; }
+ byte *getData() { return (byte *)_surf.getPixels(); }
void getRect(Common::Rect &r) const;
int16 getNumLines() const;