summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-11-17 19:27:42 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-11-17 19:27:42 +0000
commitb068abb528d8a705894cb3acd0696bd01ffa72d5 (patch)
treef62c52328dbb701d49b1f99e4b770500642e895b /source/cl_parse.c
parent4f6e8a36bdf9038bba73fafcba96c4438d8f7ce0 (diff)
Yet another batched update.
Fixed munmap() hang in OSS_Shutdown(). Added (crappy) SDL audio driver, but ALSA should work now. Made r_maxfps and cl_maxfps really separate with cl_async 1. This way, any configuration is allowed (e.g. r_maxfps 60, cl_maxfps 120). Implemented water warping via fragment program, removed subdivision code. Removed (crappy) dynamic lighting. Removed surface sorting and batching. Minimized vertex copying operations. Implemented celshading. Removed S_RawSamples and friends. Smooth handling of smaller ladder steps (e.g. those on q2next2).
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c
index 4ead25a..ae87e4a 100644
--- a/source/cl_parse.c
+++ b/source/cl_parse.c
@@ -1032,7 +1032,7 @@ noskin:
Com_sprintf( weapon_filename, sizeof( weapon_filename ),
"players/%s/%s", model_name, cl.weaponModels[i] );
ci->weaponmodel[i] = ref.RegisterModel( weapon_filename );
- if( !ci->weaponmodel[i] && strcmp( model_name, "cyborg" ) == 0 ) {
+ if( !ci->weaponmodel[i] && !Q_stricmp( model_name, "cyborg" ) ) {
// try male
Com_sprintf( weapon_filename, sizeof( weapon_filename ),
"players/male/%s", cl.weaponModels[i] );
@@ -1195,6 +1195,7 @@ static void CL_ParseReconnect( void ) {
cls.connectCount = 0;
}
+#if USE_AUTOREPLY
/*
====================
CL_CheckForVersion
@@ -1222,6 +1223,7 @@ static void CL_CheckForVersion( const char *string ) {
cl.replyTime = cls.realtime + 1024 + ( rand() & 1023 );
}
+#endif
/*
@@ -1245,7 +1247,9 @@ static void CL_ParsePrint( void ) {
return;
}
+#if USE_AUTOREPLY
CL_CheckForVersion( string );
+#endif
// disable notify
if( !cl_chat_notify->integer ) {