diff options
author | Simon Howard | 2008-02-09 19:17:19 +0000 |
---|---|---|
committer | Simon Howard | 2008-02-09 19:17:19 +0000 |
commit | 059c2fc6bbf2957b98fb20fbee2cc14a26f443f6 (patch) | |
tree | a7145e0605d5fd9712f3a4dacc298c53fa7adbf8 /src/g_game.c | |
parent | 57eeaf1d3a8a0fd090e2ccfc37d05131222ec37c (diff) | |
download | chocolate-doom-059c2fc6bbf2957b98fb20fbee2cc14a26f443f6.tar.gz chocolate-doom-059c2fc6bbf2957b98fb20fbee2cc14a26f443f6.tar.bz2 chocolate-doom-059c2fc6bbf2957b98fb20fbee2cc14a26f443f6.zip |
Remove some unneeded functions from i_system.c. Make I_Error exit using
exit() rather than abort(). Display a message box with the error on
Windows.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1065
Diffstat (limited to 'src/g_game.c')
-rw-r--r-- | src/g_game.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/g_game.c b/src/g_game.c index d2daebf6..90f707ef 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -389,15 +389,11 @@ void G_BuildTiccmd (ticcmd_t* cmd) int tspeed; int forward; int side; - - ticcmd_t* base; - base = I_BaseTiccmd (); // empty, or external driver - memcpy (cmd,base,sizeof(*cmd)); - + memset(cmd, 0, sizeof(ticcmd_t)); + cmd->consistancy = consistancy[consoleplayer][maketic%BACKUPTICS]; - strafe = gamekeydown[key_strafe] || mousebuttons[mousebstrafe] || joybuttons[joybstrafe]; |