[iortcw] 224/497: All: Use correct type for thinktime

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 8018fabb2151d298a905828576d8b70e8435c107
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Fri Sep 26 22:57:01 2014 +0000

    All: Use correct type for thinktime
---
 MP/code/game/g_main.c | 2 +-
 SP/code/game/g_main.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/game/g_main.c b/MP/code/game/g_main.c
index e034e13..6c1b31a 100644
--- a/MP/code/game/g_main.c
+++ b/MP/code/game/g_main.c
@@ -2561,7 +2561,7 @@ Runs thinking code for this frame if necessary
 =============
 */
 void G_RunThink( gentity_t *ent ) {
-	float thinktime;
+	int thinktime;
 
 	// RF, run scripting
 	if ( ent->s.number >= MAX_CLIENTS ) {
diff --git a/SP/code/game/g_main.c b/SP/code/game/g_main.c
index 483d0e8..0d29d24 100644
--- a/SP/code/game/g_main.c
+++ b/SP/code/game/g_main.c
@@ -2392,7 +2392,7 @@ Runs thinking code for this frame if necessary
 =============
 */
 void G_RunThink( gentity_t *ent ) {
-	float thinktime;
+	int thinktime;
 
 	// RF, run scripting
 	if ( ent->s.number >= MAX_CLIENTS ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list