/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* ship.c: Ship pre-write data massage
- *
+ *
* Known contributors to this file:
* Dave Pare, 1989
* Steve McClure, 1996
+ * Markus Armbruster, 2004-2008
*/
#include <config.h>
if (!own) {
sp->shp_effic = 0;
if (sp->shp_own)
- mpr(own, "\t%s sunk!\n", prship(sp));
+ mpr(sp->shp_own, "\t%s sunk!\n", prship(sp));
}
item_prewrite(sp->shp_item);