projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a50abc4
)
fixed status bits that overlapped with element numbers in BD engine
author
Holger Schemel
<holger.schemel@virtion.de>
Sun, 30 Jun 2024 11:48:29 +0000
(13:48 +0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Sun, 30 Jun 2024 11:48:38 +0000
(13:48 +0200)
src/game_bd/bd_elements.h
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_elements.h
b/src/game_bd/bd_elements.h
index 446dfc2d385c029ba2202b843a30ab6ad020d14b..9beef2fee0023ef395c850d76854d67644eb4fd1 100644
(file)
--- a/
src/game_bd/bd_elements.h
+++ b/
src/game_bd/bd_elements.h
@@
-317,8
+317,8
@@
typedef enum _element
O_MAX_ALL,
- SCANNED = 0x
1
00,
- COVERED = 0x
2
00,
+ SCANNED = 0x
4
00,
+ COVERED = 0x
8
00,
// binary AND this to elements to get rid of properties above.
O_MASK = ~(SCANNED | COVERED)