summaryrefslogtreecommitdiff
path: root/src/modules/modPipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/modPipe.c')
-rw-r--r--src/modules/modPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index f8d1e1a..dea5ea1 100644
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -181,7 +181,7 @@ static void moveShotFromPipe(shot_t *shot, pipe_t *pipe)
distPipe = space_get_object_id(spacePipe, pipe->id_out);
if (distPipe == NULL) {
- fprintf(stderr, "[Error] Pipe ID was not found [%d]\n", pipe->id);
+ error("Pipe ID was not found [%d]", pipe->id);
return;
}
@@ -243,7 +243,7 @@ static int negPosition(int n)
return TUX_UP;
default:
- assert(!_("[Error] Tux is probably moving in another dimension"));
+ fatal("Tux is probably moving in another dimension");
break;
}