Update for 2018 release
This commit is contained in:
@@ -1049,7 +1049,6 @@ int search_help(const char *argument, int level)
|
||||
|
||||
while (level < help_table[mid].min_level && mid < (bot + top) / 2)
|
||||
mid++;
|
||||
|
||||
if (strn_cmp(argument, help_table[mid].keywords, minlen) || level < help_table[mid].min_level)
|
||||
break;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -15,15 +15,6 @@
|
||||
#include "protocol.h" /* Kavir Plugin*/
|
||||
#include "lists.h"
|
||||
|
||||
/** Intended use of this macro is to allow external packages to work with a
|
||||
* variety of versions without modifications. For instance, an IS_CORPSE()
|
||||
* macro was introduced in pl13. Any future code add-ons could take into
|
||||
* account the version and supply their own definition for the macro if used
|
||||
* on an older version. You are supposed to compare this with the macro
|
||||
* TBAMUD_VERSION() in utils.h. Not currently in use.
|
||||
* It is read as Year/Version YYYY.v */
|
||||
#define _TBAMUD 2018.1
|
||||
|
||||
/** If you want equipment to be automatically equipped to the same place
|
||||
* it was when players rented, set the define below to 1 because
|
||||
* TRUE/FALSE aren't defined yet. */
|
||||
|
||||
Reference in New Issue
Block a user