Better protect allocated Ogre character data; proper blend path setting
This commit is contained in:
@@ -328,6 +328,15 @@ public:
|
||||
if (action == "sit") {
|
||||
jactionPrereq["is_seated"] = 0;
|
||||
jactionEffect["is_seated"] = 1;
|
||||
} else if (action == "use") {
|
||||
if (props["tags"].find("toilet") !=
|
||||
props["tags"].end()) {
|
||||
std::cout << "toilet" << std::endl;
|
||||
OgreAssert(false, "props: " + props.dump(4));
|
||||
} else
|
||||
OgreAssert(false, "props: " + props.dump(4));
|
||||
} else {
|
||||
OgreAssert(false, "props: " + props.dump(4));
|
||||
}
|
||||
Blackboard actionPrereq({ jactionPrereq });
|
||||
Blackboard actionEffect({ jactionEffect });
|
||||
|
||||
Reference in New Issue
Block a user