summaryrefslogtreecommitdiff
path: root/src/grobot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grobot.c')
-rw-r--r--src/grobot.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/grobot.c b/src/grobot.c
index 02fcc7d..3cacadc 100644
--- a/src/grobot.c
+++ b/src/grobot.c
@@ -490,7 +490,8 @@ gboolean g_robot_smell(GRobot *robot, gchar *str)
gdk_threads_enter();
ui_arena_robot_smell(robot->ui, robot->x, robot->y, robot->dir,
- robot->energy, robot->score, robot->shields);
+ robot->energy, robot->score, robot->shields,
+ str);
gdk_threads_leave();
/* Smell for the thing */
@@ -556,7 +557,7 @@ gboolean g_robot_feel(GRobot *robot, gchar *str)
gdk_threads_enter();
ui_arena_robot_feel(robot->ui, robot->x, robot->y, robot->dir, x_to,
- y_to, robot->energy, robot->score, robot->shields);
+ y_to, robot->energy, robot->score, robot->shields, str);
gdk_threads_leave();
if (MAP_GET_OBJECT(robot->map, x_to, y_to) == BADDIE)
@@ -620,7 +621,7 @@ gboolean g_robot_look(GRobot *robot, gchar *str)
gdk_threads_enter();
ui_arena_robot_look(robot->ui, robot->x, robot->y, robot->dir, x_to,
- y_to, robot->energy, robot->score, robot->shields);
+ y_to, robot->energy, robot->score, robot->shields, str);
gdk_threads_leave();
while (MAP_GET_OBJECT(robot->map, x_to, y_to) == SPACE)