summaryrefslogtreecommitdiff
path: root/src/base/shot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/shot.c')
-rw-r--r--src/base/shot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/shot.c b/src/base/shot.c
index f11760a..168e889 100644
--- a/src/base/shot.c
+++ b/src/base/shot.c
@@ -113,7 +113,7 @@ shot_t *shot_new(int x, int y, int px, int py, int gun, int author_id)
break;
default:
- fprintf(stderr, _("[Error] Unknown type of gun [%d]\n"), gun);
+ error("Unknown type of gun [%d]", gun);
assert(0);
break;
}