mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups.
This commit is contained in:
parent
843a0d7d02
commit
3e43600c3b
14 changed files with 60 additions and 57 deletions
|
|
@ -23,13 +23,13 @@
|
|||
namespace VMAP
|
||||
{
|
||||
//=====================================
|
||||
#define MAX_CAN_FALL_DISTANCE 10.0
|
||||
#define MAX_CAN_FALL_DISTANCE 10.0f
|
||||
const char VMAP_MAGIC[] = "VMAP_2.0";
|
||||
|
||||
class VMapDefinitions
|
||||
{
|
||||
public:
|
||||
static const double getMaxCanFallDistance() { return(MAX_CAN_FALL_DISTANCE); }
|
||||
static float getMaxCanFallDistance() { return MAX_CAN_FALL_DISTANCE; }
|
||||
};
|
||||
|
||||
//======================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue