From 95d120359407ea4adc6865f9b41f4fc3e6d955b5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 17 May 2012 15:33:42 -0700 Subject: [PATCH] repair feedback for not woning anything when trying to destroy. --- src/kernel/build.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kernel/build.c b/src/kernel/build.c index fcda6483f..4804c7d1c 100644 --- a/src/kernel/build.c +++ b/src/kernel/build.c @@ -420,7 +420,8 @@ int destroy_cmd(unit * u, struct order *ord) "unit region ship", u, r, sh)); } } else { - log_error("Die Einheit %s von %s war owner eines objects, war aber weder in einer Burg noch in einem Schiff.\n", unitname(u), u->faction->name, u->faction->email); + cmistake(u, ord, 138, MSG_PRODUCE); + return 0; } if (con) {