aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorOliver Kiehl2003-05-26 20:05:38 +0000
committerOliver Kiehl2003-05-26 20:05:38 +0000
commit9357a99e00decef46def55baaaac1c53121c5a4d (patch)
treec7fdaccf5d5b13eb3733d60f28dcc857a9b20258 /sky
parent4baf74d6a074bd383eb92b30da7fe93490ed6bbe (diff)
downloadscummvm-rg350-9357a99e00decef46def55baaaac1c53121c5a4d.tar.gz
scummvm-rg350-9357a99e00decef46def55baaaac1c53121c5a4d.tar.bz2
scummvm-rg350-9357a99e00decef46def55baaaac1c53121c5a4d.zip
forgot one
svn-id: r8018
Diffstat (limited to 'sky')
-rw-r--r--sky/grid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/grid.cpp b/sky/grid.cpp
index f75842a6d4..aa59cf4309 100644
--- a/sky/grid.cpp
+++ b/sky/grid.cpp
@@ -150,7 +150,7 @@ void SkyGrid::loadGrids(void) {
bool SkyGrid::getGridValues(Compact *cpt, uint32 *resBitNum, uint32 *resWidth) {
- uint16 width = *(uint16*)SkyCompact::getCompactElem(cpt,cpt->extCompact->megaSet+C_GRID_WIDTH);
+ uint16 width = SkyCompact::getMegaSet(cpt, cpt->extCompact->megaSet)->gridWidth;
return getGridValues(cpt->xcood, cpt->ycood, width, cpt, resBitNum, resWidth);
}