/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
#include "plane.h"
int
-sate(void)
+c_satellite(void)
{
static int sct_shp_or_lnd[] = { EF_SECTOR, EF_SHIP, EF_LAND, EF_BAD };
double tech;
pr("Satellite Map Report:\n");
pr("%s at ", prplane(&plane));
tech = techfact(plane.pln_tech, 20.0);
- satmap(plane.pln_x, plane.pln_y, plane.pln_effic,
- (int)tech, plchr[(int)plane.pln_type].pl_flags, type);
-
- return RET_OK;
+ return satmap(plane.pln_x, plane.pln_y, plane.pln_effic,
+ (int)tech, plchr[(int)plane.pln_type].pl_flags, type);
}