diff options
author | Robert Göffringmann | 2003-08-20 12:12:11 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-08-20 12:12:11 +0000 |
commit | af17c1ac5161b261c4c8c41e360dd5d11b7859d7 (patch) | |
tree | 4c5b3a0dcda7056175951a0a747f303b3318e721 /sky/autoroute.cpp | |
parent | 123af301474cac28e53f96b5f23f229429d32eaa (diff) | |
download | scummvm-rg350-af17c1ac5161b261c4c8c41e360dd5d11b7859d7.tar.gz scummvm-rg350-af17c1ac5161b261c4c8c41e360dd5d11b7859d7.tar.bz2 scummvm-rg350-af17c1ac5161b261c4c8c41e360dd5d11b7859d7.zip |
copied some fixes which only were in 0.5.1 branch.
svn-id: r9799
Diffstat (limited to 'sky/autoroute.cpp')
-rw-r--r-- | sky/autoroute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/autoroute.cpp b/sky/autoroute.cpp index 760e3640d8..31d2aec140 100644 --- a/sky/autoroute.cpp +++ b/sky/autoroute.cpp @@ -236,7 +236,7 @@ uint16 SkyAutoRoute::autoRoute(Compact *cpt) { clipCoordX(cpt->extCompact->arTargetX, destX, initDestX); clipCoordY(cpt->extCompact->arTargetY, destY, initDestY); - ((uint16*)cpt->extCompact->animScratch)[0] = 0; + memset(cpt->extCompact->animScratch, 0, 64); if ((startX == destX) && (startY == destY)) return 2; |