From 6f56815bdb0ba0b37d4afcd4c2cac3f4ddd1846d Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:26:21 +0000 Subject: * Don't display team join message if previous clientinfo was invalid (bug 3960) * Move CG_TeamJoinMessage to cg_players.c near where it is used * When changing team, execute cg_(alien|human|spectator)Config as appropriate --- src/game/bg_lib.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/game') diff --git a/src/game/bg_lib.h b/src/game/bg_lib.h index 63f0b537..5b5bacaf 100644 --- a/src/game/bg_lib.h +++ b/src/game/bg_lib.h @@ -87,15 +87,6 @@ typedef int cmp_t( const void *, const void * ); void qsort( void *a, size_t n, size_t es, cmp_t *cmp ); void srand( unsigned seed ); int rand( void ); -// FIXME: NDEBUG isn't defined for compiling the QVMs -#ifndef NDEBUG -#define str2(x) #x -#define str(x) str2(x) -#define assert(x) if(!(x)) Com_Error( ERR_DROP, \ - __FILE__ ":" str(__LINE__) ": assertion `" #x "' failed" ); -#else -#define assert(x) -#endif // String functions size_t strlen( const char *string ); -- cgit