summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornarbatucker <narbatucker@hackintosh.local>2017-06-25 18:08:01 +0100
committernarbatucker <narbatucker@hackintosh.local>2017-06-25 18:08:01 +0100
commit44a305ba686bda6319d54cccf7069bfd5bb04f8d (patch)
tree78a8507da5a1722e954be6c78e099ebcdf9fe93c
parent217b57ac5e48c1ae10f0045f84d3caaa6dc63856 (diff)
furthermore, fix QVM compiling on all platforms (ACADEMICALLY_ACCLAIMED too, and no typos this time)
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 44b6f07..70a069d 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -3122,7 +3122,7 @@ qboolean G_admin_sm( gentity_t *ent, int skiparg )
return qfalse;
}
- snprintf( ipa, sizeof( ipa ), "%i.%i.%i.%i", parts[0], parts[1], parts[2], parts[3] );
+ Com_sprintf( ipa, sizeof( ipa ), "%i.%i.%i.%i", parts[0], parts[1], parts[2], parts[3] );
if( rand() % 2 /* FIXME cache hit */ )
{