[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces PathSchedule...
From: |
Matthias Braun |
Subject: |
[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces PathSchedule... |
Date: |
Mon, 01 Sep 2003 18:46:55 -0400 |
CVSROOT: /cvsroot/netpanzer
Module name: netpanzer
Branch:
Changes by: Matthias Braun <address@hidden> 03/09/01 18:46:55
Modified files:
src/NetPanzer/Interfaces: PathScheduler.hpp
Log message:
fixed a small bug I introduced when converting BOOL to bool
Patches:
Index: netpanzer/src/NetPanzer/Interfaces/PathScheduler.hpp
diff -u netpanzer/src/NetPanzer/Interfaces/PathScheduler.hpp:1.2
netpanzer/src/NetPanzer/Interfaces/PathScheduler.hpp:1.3
--- netpanzer/src/NetPanzer/Interfaces/PathScheduler.hpp:1.2 Mon Sep 1
16:24:20 2003
+++ netpanzer/src/NetPanzer/Interfaces/PathScheduler.hpp Mon Sep 1
18:46:54 2003
@@ -106,7 +106,7 @@
unsigned short pathing_fsm;
unsigned short pathing_fsm_state;
- bool path_generation_status;
+ int path_generation_status;
PathRequest path_request;
@@ -136,14 +136,12 @@
inline bool generationComplete( UnitID &unit_id )
{
// XXX comparison is always false?!?
-#if 0
if ( path_generation_status == _path_generator_status_waiting )
if ( path_request.unit_id == unit_id )
{
path_generation_status = _path_generator_status_free;
return( true );
}
-#endif
return( false );
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces PathSchedule...,
Matthias Braun <=