mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
TRECISION: Add ATFNONE to remove a "magic" value
This commit is contained in:
parent
2ec411c0e5
commit
f372bf457d
@ -61,6 +61,7 @@ enum AnimationTypes {
|
||||
kAnimTypeIcon = 2
|
||||
};
|
||||
|
||||
#define ATFNONE 0
|
||||
#define ATFTEXT 1
|
||||
#define ATFSND 2
|
||||
#define ATFTEXTACT 3
|
||||
|
@ -530,7 +530,7 @@ void TrecisionEngine::doMouseTake(uint16 curObj) {
|
||||
if (frame->_type == ATFCLR && frame->_index == curObj)
|
||||
break;
|
||||
|
||||
if (frame->_type == 0) {
|
||||
if (frame->_type == ATFNONE) {
|
||||
frame->_child = 0;
|
||||
frame->_numFrame = 1;
|
||||
frame->_type = ATFCLR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user