diff options
| -rw-r--r-- | engines/teenagent/scene.cpp | 4 | ||||
| -rw-r--r-- | engines/teenagent/scene.h | 1 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index 2f7c8efb82..ad064e954f 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -36,7 +36,7 @@ namespace TeenAgent {  Scene::Scene() : intro(false), _engine(NULL),  		_system(NULL),  		_id(0), ons(0), -		orientation(Object::kActorRight),  +		orientation(Object::kActorRight), actor_talking(false),   		message_timer(0), message_first_frame(0), message_last_frame(0), message_animation(NULL),   		current_event(SceneEvent::kNone), hide_actor(false), callback(0), callback_timer(0) {} @@ -668,7 +668,7 @@ bool Scene::render(OSystem *system) {  					} else  						busy = true;  				} else -					actor_animation_position = teenagent.render(surface, position, orientation, 0, true); +					actor_animation_position = teenagent.render(surface, position, orientation, 0, actor_talking);  			}  		} diff --git a/engines/teenagent/scene.h b/engines/teenagent/scene.h index 8ca1646448..0b0df298fe 100644 --- a/engines/teenagent/scene.h +++ b/engines/teenagent/scene.h @@ -187,6 +187,7 @@ private:  	typedef Common::List<Common::Point> Path;  	Path path;  	uint8 orientation; +	bool actor_talking;  	bool findPath(Path &p, const Common::Point &src, const Common::Point &dst) const;  | 
