mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-13 08:27:42 +00:00
Disabled drop case and fixed a padding problem in the date code.
This commit is contained in:
parent
33bee2c315
commit
9d345618be
2 changed files with 10 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.112 2002/08/29 23:47:10 jbravo
|
||||||
|
// Disabled drop case and fixed a padding problem in the date code.
|
||||||
|
//
|
||||||
// Revision 1.111 2002/08/28 23:10:06 jbravo
|
// Revision 1.111 2002/08/28 23:10:06 jbravo
|
||||||
// Added cg_RQ3_SuicideLikeARealMan, timestamping to server logs and
|
// Added cg_RQ3_SuicideLikeARealMan, timestamping to server logs and
|
||||||
// fixed stats for non-TP modes.
|
// fixed stats for non-TP modes.
|
||||||
|
@ -313,6 +316,7 @@
|
||||||
#include "zcam.h"
|
#include "zcam.h"
|
||||||
#include "q_shared.h"
|
#include "q_shared.h"
|
||||||
|
|
||||||
|
int trap_RealTime(qtime_t *qtime);
|
||||||
level_locals_t level;
|
level_locals_t level;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -1748,7 +1752,7 @@ void LogExit(const char *string)
|
||||||
"September", "October", "November", "December" };
|
"September", "October", "November", "December" };
|
||||||
|
|
||||||
trap_RealTime(&now);
|
trap_RealTime(&now);
|
||||||
G_LogPrintf("Game ending at %s %i %s %i %i:%i:%i : %s\n", names_day[now.tm_wday], now.tm_mday, names_month[now.tm_mon],
|
G_LogPrintf("Game ending at %s %i %s %i %02i:%02i:%02i : %s\n", names_day[now.tm_wday], now.tm_mday, names_month[now.tm_mon],
|
||||||
(now.tm_year)+1900, now.tm_hour, now.tm_min, now.tm_sec, string);
|
(now.tm_year)+1900, now.tm_hour, now.tm_min, now.tm_sec, string);
|
||||||
trap_SendServerCommand(-1, va("print \"Game ending at %s %i %s %i %i:%i:%i.\n\"", names_day[now.tm_wday],
|
trap_SendServerCommand(-1, va("print \"Game ending at %s %i %s %i %i:%i:%i.\n\"", names_day[now.tm_wday],
|
||||||
now.tm_mday, names_month[now.tm_mon], (now.tm_year)+1900, now.tm_hour,
|
now.tm_mday, names_month[now.tm_mon], (now.tm_year)+1900, now.tm_hour,
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.132 2002/08/29 23:47:10 jbravo
|
||||||
|
// Disabled drop case and fixed a padding problem in the date code.
|
||||||
|
//
|
||||||
// Revision 1.131 2002/08/24 22:46:50 niceass
|
// Revision 1.131 2002/08/24 22:46:50 niceass
|
||||||
// roundtimelimit bug fixed
|
// roundtimelimit bug fixed
|
||||||
//
|
//
|
||||||
|
@ -1097,8 +1100,8 @@ void RQ3_Cmd_Drop_f(gentity_t * ent)
|
||||||
Cmd_DropItem_f(ent);
|
Cmd_DropItem_f(ent);
|
||||||
} else if (Q_stricmp(cmd, "weapon") == 0) {
|
} else if (Q_stricmp(cmd, "weapon") == 0) {
|
||||||
Cmd_DropWeapon_f(ent);
|
Cmd_DropWeapon_f(ent);
|
||||||
} else if (Q_stricmp(cmd, "case") == 0) {
|
// } else if (Q_stricmp(cmd, "case") == 0) {
|
||||||
Cmd_Dropcase_f(ent);
|
// Cmd_Dropcase_f(ent);
|
||||||
} else {
|
} else {
|
||||||
trap_SendServerCommand(ent - g_entities, va("print \"unknown item: %s\n\"", cmd));
|
trap_SendServerCommand(ent - g_entities, va("print \"unknown item: %s\n\"", cmd));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue