[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/clone mainloop.c
From: |
Jimmy Salmon |
Subject: |
[Stratagus-CVS] stratagus/src/clone mainloop.c |
Date: |
Sat, 08 Nov 2003 11:00:24 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Jimmy Salmon <address@hidden> 03/11/08 11:00:24
Modified files:
src/clone : mainloop.c
Log message:
Undo last commit
Patches:
Index: stratagus/src/clone/mainloop.c
diff -u stratagus/src/clone/mainloop.c:1.157
stratagus/src/clone/mainloop.c:1.158
--- stratagus/src/clone/mainloop.c:1.157 Sat Nov 8 05:23:03 2003
+++ stratagus/src/clone/mainloop.c Sat Nov 8 11:00:24 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mainloop.c,v 1.157 2003/11/08 10:23:03 martinxyz Exp $
+// $Id: mainloop.c,v 1.158 2003/11/08 16:00:24 jsalmon3 Exp $
//@{
@@ -912,7 +912,7 @@
}
if (MustRedraw /* && !VideoInterrupts */ &&
(FastForwardCycle <= GameCycle || GameCycle <= 10 ||
- GameCycle % 64 == 0)) {
+ !(GameCycle & 0x3f))) {
if (Callbacks == &MenuCallbacks) {
MustRedraw |= RedrawMenu;
}
@@ -945,7 +945,7 @@
if (FastForwardCycle == GameCycle) {
VideoSyncSpeed = RealVideoSyncSpeed;
}
- if (FastForwardCycle <= GameCycle || GameCycle % 64 == 0) {
+ if (FastForwardCycle <= GameCycle || !(GameCycle & 0x3f)) {
WaitEventsOneFrame(Callbacks);
}
if (!NetworkInSync) {
- [Stratagus-CVS] stratagus/src/clone mainloop.c,
Jimmy Salmon <=