mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-11 07:12:33 +01:00
Update for 2018 release
This commit is contained in:
parent
0bb51e2bc2
commit
544afc796b
6 changed files with 28 additions and 252 deletions
|
|
@ -708,10 +708,10 @@ void sedit_parse(struct descriptor_data *d, char *arg)
|
|||
S_CLOSE2(OLC_SHOP(d)) = LIMIT(atoi(arg), 0, 28);
|
||||
break;
|
||||
case SEDIT_BUY_PROFIT:
|
||||
sscanf(arg, "%lf", &S_BUYPROFIT(OLC_SHOP(d)));
|
||||
sscanf(arg, "%f", &S_BUYPROFIT(OLC_SHOP(d)));
|
||||
break;
|
||||
case SEDIT_SELL_PROFIT:
|
||||
sscanf(arg, "%lf", &S_SELLPROFIT(OLC_SHOP(d)));
|
||||
sscanf(arg, "%f", &S_SELLPROFIT(OLC_SHOP(d)));
|
||||
break;
|
||||
case SEDIT_TYPE_MENU:
|
||||
OLC_VAL(d) = LIMIT(atoi(arg), 0, NUM_ITEM_TYPES - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue