aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorMax Horn2002-11-06 14:02:07 +0000
committerMax Horn2002-11-06 14:02:07 +0000
commit503fd9ca64a40e11524eb519e99c346fd4790f72 (patch)
tree6683279e5d3010b834bda873a3a5fe5928077ed1 /scumm/object.cpp
parent72a22e4b8661027654d466730ee063555b69cbf3 (diff)
downloadscummvm-rg350-503fd9ca64a40e11524eb519e99c346fd4790f72.tar.gz
scummvm-rg350-503fd9ca64a40e11524eb519e99c346fd4790f72.tar.bz2
scummvm-rg350-503fd9ca64a40e11524eb519e99c346fd4790f72.zip
removed some useless typecasts
svn-id: r5437
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index fefa9833e7..07d60a2868 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -1256,8 +1256,8 @@ void Scumm::drawBlastObject(BlastObject *eo)
_bompShadowMode = 0;
if ((bdd.scale_x != 255) || (bdd.scale_y != 255)) {
- _bompScallingXPtr = (byte*)&bomp_scalling_x;
- _bompScallingYPtr = (byte*)&bomp_scalling_y;
+ _bompScallingXPtr = bomp_scalling_x;
+ _bompScallingYPtr = bomp_scalling_y;
_bompScaleRight = setupBompScale(_bompScallingXPtr, bdd.srcwidth, bdd.scale_x);
_bompScaleBottom = setupBompScale(_bompScallingYPtr, bdd.srcheight, bdd.scale_y);
drawBomp(&bdd, 0, bdd.dataptr, 1, 3);