[Scummvm-git-logs] scummvm master -> f0094e713bcf8ea4d2cdafaaad56872bc46cb0f5

AndywinXp noreply at scummvm.org
Wed Sep 13 20:37:07 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f0094e713b SCUMM: Attempt at fixing #14616


Commit: f0094e713bcf8ea4d2cdafaaad56872bc46cb0f5
    https://github.com/scummvm/scummvm/commit/f0094e713bcf8ea4d2cdafaaad56872bc46cb0f5
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-09-13T22:36:53+02:00

Commit Message:
SCUMM: Attempt at fixing #14616

(FT: Crash with Assertion Fail when riding the
bike for the first time).

This was suggested by PushmePullyu; athrxx
will probably take a better look when he gets back.

Changed paths:
    engines/scumm/akos.h


diff --git a/engines/scumm/akos.h b/engines/scumm/akos.h
index e17d922791c..a7e3d50fdff 100644
--- a/engines/scumm/akos.h
+++ b/engines/scumm/akos.h
@@ -48,6 +48,9 @@ public:
 
 	//void animateLimb(int limb, int f);
 	bool hasManyDirections(int id) override {
+		if (id == 0)
+			return false;
+
 		loadCostume(id);
 		return hasManyDirections();
 	}




More information about the Scummvm-git-logs mailing list