[Scummvm-cvs-logs] SF.net SVN: scummvm: [25332] scummvm/trunk/engines/scumm/akos.cpp
cyx at users.sourceforge.net
cyx at users.sourceforge.net
Fri Feb 2 00:27:17 CET 2007
Revision: 25332
http://scummvm.svn.sourceforge.net/scummvm/?rev=25332&view=rev
Author: cyx
Date: 2007-02-01 15:27:16 -0800 (Thu, 01 Feb 2007)
Log Message:
-----------
don't test akosScaleYTable if actor has no vertical scale factor ; this is consistent with the code in costume.cpp and fixes bug #1329232.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/akos.cpp
Modified: scummvm/trunk/engines/scumm/akos.cpp
===================================================================
--- scummvm/trunk/engines/scumm/akos.cpp 2007-02-01 22:15:01 UTC (rev 25331)
+++ scummvm/trunk/engines/scumm/akos.cpp 2007-02-01 23:27:16 UTC (rev 25332)
@@ -557,7 +557,7 @@
len = *src++;
do {
- if (*scaleytab++ < _scaleY) {
+ if (_scaleY == 255 || *scaleytab++ < _scaleY) {
if (_actorHitMode) {
if (color && y == _actorHitY && v1.x == _actorHitX) {
_actorHitResult = true;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list