mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 15:21:34 +00:00
fixes
This commit is contained in:
parent
9940ef692d
commit
dfa84481bc
2 changed files with 2 additions and 4 deletions
|
@ -253,7 +253,7 @@ void steam_link( gentity_t *ent )
|
|||
}
|
||||
|
||||
// This is used as the toggle switch
|
||||
if(ent->targetname != 0) {
|
||||
if(ent->targetname != NULL && ent->targetname[0] != 0) {
|
||||
if((ent->spawnflags & STEAM_STARTOFF) == 0) {
|
||||
ent->count = 1;
|
||||
} else {
|
||||
|
|
|
@ -1996,12 +1996,10 @@ void G_ShutdownGame( int restart ) {
|
|||
#ifndef GAME_HARD_LINKED
|
||||
// this is only here so the functions in q_shared.c and bg_*.c can link
|
||||
|
||||
void QDECL Com_Error ( int errlevel, const char *error, ... ) {
|
||||
void QDECL Com_Error ( /*@unused@*/ int errlevel, const char *error, ... ) {
|
||||
va_list argptr;
|
||||
char text[1024];
|
||||
|
||||
UNUSED(errlevel);
|
||||
|
||||
va_start (argptr, error);
|
||||
vsnprintf(text, sizeof(text), error, argptr);
|
||||
va_end (argptr);
|
||||
|
|
Loading…
Reference in a new issue