OSDN Git Service
(root)
/
liveml
/
LiveML.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deleted define of the event
[liveml/LiveML.git]
/
src
/
livemlrunner.h
diff --git
a/src/livemlrunner.h
b/src/livemlrunner.h
index
660b1fd
..
b6b8c63
100644
(file)
--- a/
src/livemlrunner.h
+++ b/
src/livemlrunner.h
@@
-230,7
+230,7
@@
public:
{
DCODE(printf("LMLActorObject::setAction(%d)\n", type);)
ActionParser *action = parser->actionContainer[type];
{
DCODE(printf("LMLActorObject::setAction(%d)\n", type);)
ActionParser *action = parser->actionContainer[type];
- if (action == NULL) return false;
+ if (action
->tag
== NULL) return false;
setAction(action);
return true;
setAction(action);
return true;
@@
-258,7
+258,7
@@
public:
{
DCODE(printf("LMLActorObject::setEvent(%d)\n", type);)
EventParser *event = parser->eventContainer[type];
{
DCODE(printf("LMLActorObject::setEvent(%d)\n", type);)
EventParser *event = parser->eventContainer[type];
-
if (event
== NULL) return false;
+
if (event->tag
== NULL) return false;
return setEvent(event);
}
return setEvent(event);
}