[Scummvm-git-logs] scummvm master -> 756868ff30b2f1a7e05524fa00d4e1fdd4371b36

dreammaster noreply at scummvm.org
Fri Feb 18 03:50:53 UTC 2022


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:
756868ff30 XEEN: Remove validation assert that's incorrect for Swords of Xeen


Commit: 756868ff30b2f1a7e05524fa00d4e1fdd4371b36
    https://github.com/scummvm/scummvm/commit/756868ff30b2f1a7e05524fa00d4e1fdd4371b36
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-02-17T19:50:28-08:00

Commit Message:
XEEN: Remove validation assert that's incorrect for Swords of Xeen

Changed paths:
    engines/xeen/map.cpp


diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp
index 03b085d23cf..4ed6fa432a3 100644
--- a/engines/xeen/map.cpp
+++ b/engines/xeen/map.cpp
@@ -123,7 +123,6 @@ void MonsterStruct::synchronize(Common::SeekableReadStream &s) {
 	_gold = s.readUint16LE();
 	_gems = s.readByte();
 	_itemDrop = s.readByte();
-	assert(_itemDrop >= 0 && _itemDrop <= 7);
 	_flying = s.readByte() != 0;
 	_imageNumber = s.readByte();
 	_loopAnimation = s.readByte();




More information about the Scummvm-git-logs mailing list