diff options
| -rw-r--r-- | engines/teenagent/scene.cpp | 17 | 
1 files changed, 11 insertions, 6 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index 0ade44f431..463f1460e0 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -632,6 +632,11 @@ bool Scene::render(OSystem *system) {  						(ABS(dp.x) < speed_x? dp.x: SIGN(dp.x) * speed_x);  					actor_animation_position = teenagent.render(surface, position, o, 1, false, zoom); +					//render on +					if (debug_features.feature[DebugFeatures::kShowOn]) { +						on.render(surface, actor_animation_position); +					} +  					if (position == destination) {  						path.pop_front();  						if (path.empty()) { @@ -644,16 +649,16 @@ bool Scene::render(OSystem *system) {  						busy = true;  					} else  						busy = true; -				} else  +				} else {  					actor_animation_position = teenagent.render(surface, position, orientation, 0, actor_talking, zoom); +					//render on +					if (debug_features.feature[DebugFeatures::kShowOn]) { +						on.render(surface, actor_animation_position); +					} +				}  			}  		} -		//render on -		if (debug_features.feature[DebugFeatures::kShowOn]) { -			on.render(surface, actor_animation_position); -		} -  		if (!message.empty()) {  			bool visible = true;  			if (message_first_frame != 0 && message_animation != NULL) {  | 
