Prepared for new orders.

This commit is contained in:
johns 2001-01-26 00:41:42 +00:00
parent b361c31d4f
commit efa4cfc756

View file

@ -9,11 +9,10 @@
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name pathfinder.h - The path finder headerfile. */
/*
** (c) Copyright 1998-2000 by Lutz Sammer
**
** $Id$
*/
//
// (c) Copyright 1998-2001 by Lutz Sammer
//
// $Id$
#ifndef __PATH_FINDER_H__
#define __PATH_FINDER_H__
@ -44,7 +43,11 @@ enum _move_return_ {
/**
** To remove pathfinder internals. Called if path destination changed.
*/
#ifdef NEW_ORDERS
#define ResetPath(command) // Hope I didn't need this?
#else
#define ResetPath(command) ((command).Data.Move.Fast=1)
#endif
/*----------------------------------------------------------------------------
-- Variables