[Scummvm-git-logs] scummvm branch-2-6 -> 39f1c5299cdc9e97820333fbde59912806292359
somaen
noreply at scummvm.org
Sun Sep 25 19:08:22 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:
39f1c5299c TINSEL: Fix wrong mapping of IO_-attributes
Commit: 39f1c5299cdc9e97820333fbde59912806292359
https://github.com/scummvm/scummvm/commit/39f1c5299cdc9e97820333fbde59912806292359
Author: Einar Johan Trøan SømaÌen (somaen at scummvm.org)
Date: 2022-09-25T21:07:06+02:00
Commit Message:
TINSEL: Fix wrong mapping of IO_-attributes
1839780513c05ad7b3e7cbc98a36e546021f8222 made a mistake by
confusing the IO-attributes with the non-IO_-attributes,
as there is a difference in the order of the flags between
these two sets.
Fixes bug: https://bugs.scummvm.org/ticket/13810
Changed paths:
engines/tinsel/inv_objects.h
diff --git a/engines/tinsel/inv_objects.h b/engines/tinsel/inv_objects.h
index daa9fb5a45d..df920b87da4 100644
--- a/engines/tinsel/inv_objects.h
+++ b/engines/tinsel/inv_objects.h
@@ -29,9 +29,9 @@ namespace Tinsel {
// attribute values - not a bit bit field to prevent portability problems
enum class InvObjAttr {
- IO_DROPCODE = 0x01,
- IO_ONLYINV1 = 0x02,
- IO_ONLYINV2 = 0x04,
+ IO_ONLYINV1 = 0x01,
+ IO_ONLYINV2 = 0x02,
+ IO_DROPCODE = 0x04,
DEFINV1 = 0x08,
DEFINV2 = 0x10,
PERMACONV = 0x20,
More information about the Scummvm-git-logs
mailing list