mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-24 20:41:44 +01:00
Removed a couple warnings caused by a misplaced define
This commit is contained in:
@@ -18,10 +18,6 @@
|
|||||||
#include "improved-edit.h"
|
#include "improved-edit.h"
|
||||||
#include "modify.h"
|
#include "modify.h"
|
||||||
|
|
||||||
|
|
||||||
#define CHECK_VAR(var) ((var == YES) ? "Yes" : "No")
|
|
||||||
#define TOGGLE_VAR(var) if (var == YES) { var = NO; } else { var = YES; }
|
|
||||||
|
|
||||||
/* local scope functions, not used externally */
|
/* local scope functions, not used externally */
|
||||||
static void cedit_disp_menu(struct descriptor_data *d);
|
static void cedit_disp_menu(struct descriptor_data *d);
|
||||||
static void cedit_save_internally(struct descriptor_data *d);
|
static void cedit_save_internally(struct descriptor_data *d);
|
||||||
|
|||||||
@@ -28,6 +28,9 @@
|
|||||||
to adjust these numbers if you ever add more. Note: Most of the NUM_ and
|
to adjust these numbers if you ever add more. Note: Most of the NUM_ and
|
||||||
MAX_ limits have been moved to more appropriate locations. */
|
MAX_ limits have been moved to more appropriate locations. */
|
||||||
|
|
||||||
|
#define TOGGLE_VAR(var) if (var == YES) { var = NO; } else { var = YES; }
|
||||||
|
#define CHECK_VAR(var) ((var == YES) ? "Yes" : "No")
|
||||||
|
|
||||||
#define MAX_PEOPLE 10 /* Max # of people you want to sit in furniture. */
|
#define MAX_PEOPLE 10 /* Max # of people you want to sit in furniture. */
|
||||||
|
|
||||||
/* Limit information. */
|
/* Limit information. */
|
||||||
|
|||||||
Reference in New Issue
Block a user