/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2012, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
pr("Sectors need at least 1 mobility to sell goods.\n");
return RET_FAIL;
}
+ if (ip->i_uid == I_CIVIL && sect.sct_oldown != sect.sct_own) {
+ pr("You can't sell conquered populace!\n");
+ return RET_FAIL;
+ }
p = getstarg(player->argp[3], "Quantity: ", buf);
if (!p || !*p)
return RET_SYN;