mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Removed a couple warnings caused by a misplaced define
This commit is contained in:
parent
4572a874b4
commit
09f497b0b3
2 changed files with 3 additions and 4 deletions
|
@ -18,10 +18,6 @@
|
|||
#include "improved-edit.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 */
|
||||
static void cedit_disp_menu(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
|
||||
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. */
|
||||
|
||||
/* Limit information. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue