diff options
author | Max Horn | 2002-11-06 14:02:07 +0000 |
---|---|---|
committer | Max Horn | 2002-11-06 14:02:07 +0000 |
commit | 503fd9ca64a40e11524eb519e99c346fd4790f72 (patch) | |
tree | 6683279e5d3010b834bda873a3a5fe5928077ed1 /scumm/object.cpp | |
parent | 72a22e4b8661027654d466730ee063555b69cbf3 (diff) | |
download | scummvm-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.cpp | 4 |
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); |