aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/autojump.c2
-rw-r--r--src/ent.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/autojump.c b/src/autojump.c
index 23bc2e0..82a56fc 100644
--- a/src/autojump.c
+++ b/src/autojump.c
@@ -79,7 +79,7 @@ static bool unprot(void *gm) {
// reimplementing cheats check for dumb and bad reasons, see below
static struct con_var *sv_cheats;
static void cheatcb(struct con_var *this) {
- if (this->ival) if_cold(!con_getvari(sv_cheats)) {
+ if (this->ival) if_cold (!con_getvari(sv_cheats)) {
con_warn("Can't use cheat cvar sst_autojump, unless server has "
"sv_cheats set to 1.\n");
con_setvari(this, 0);
diff --git a/src/ent.c b/src/ent.c
index 7a0d8fe..31ddcd8 100644
--- a/src/ent.c
+++ b/src/ent.c
@@ -51,7 +51,7 @@ struct edict *ent_getedict(int idx) {
void *ent_get(int idx) {
struct edict *e = ent_getedict(idx);
- if_hot(e) return e->ent_unknown;
+ if_hot (e) return e->ent_unknown;
return 0;
}