(ontradingblock, trdswitchown): Second parameter is a generic pointer,
change it from int * to void *. Callers changed not to cast to int *.
This commit is contained in:
parent
05f64e8c3f
commit
79714720cc
13 changed files with 21 additions and 23 deletions
|
@ -121,7 +121,7 @@ load(void)
|
|||
continue;
|
||||
}
|
||||
if (opt_MARKET) {
|
||||
if (ontradingblock(EF_SHIP, (int *)&ship)) {
|
||||
if (ontradingblock(EF_SHIP, &ship)) {
|
||||
pr("You cannot load/unload an item on the trading block!\n");
|
||||
continue;
|
||||
}
|
||||
|
@ -266,7 +266,7 @@ lload(void)
|
|||
if (sect.sct_own != player->cnum && land.lnd_own != player->cnum)
|
||||
continue;
|
||||
if (opt_MARKET) {
|
||||
if (ontradingblock(EF_LAND, (int *)&land)) {
|
||||
if (ontradingblock(EF_LAND, &land)) {
|
||||
pr("You cannot load/unload an item on the trading block!\n");
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue