aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-04-06 02:36:11 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-04-06 20:59:36 +0100
commit586e13e3c2e03b36b092d5637e382665ed8ce416 (patch)
tree245180e843fad454aa76a8686a0f22fcd884b568
parentf03e7c515d285e0efff2a09dacba48120778614a (diff)
downloadsst-586e13e3c2e03b36b092d5637e382665ed8ce416.tar.gz
sst-586e13e3c2e03b36b092d5637e382665ed8ce416.zip
Tweak a couple of bits of whitespace
-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;
}