From 9091d56e70581022d4ce9572bfac708fba383502 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Thu, 17 Jun 2010 01:03:56 +0200 Subject: [PATCH] [10070] Remove old, commented code no longer needed in SendMonsterMove Signed-off-by: NoFantasy --- src/game/Unit.cpp | 7 +------ src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index fb064a128..ae445a10a 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -382,12 +382,7 @@ void Unit::SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, SplineTy break; } - data << uint32(flags); - - // enable me if things goes wrong or looks ugly, it is however an old hack - // if(flags & SPLINEFLAG_WALKMODE) - // moveTime *= 1.05f; - + data << uint32(flags); // splineflags data << uint32(moveTime); // Time in between points data << uint32(1); // 1 single waypoint data << NewPosX << NewPosY << NewPosZ; // the single waypoint Point B diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4bf04c17a..1d5ff105e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10069" + #define REVISION_NR "10070" #endif // __REVISION_NR_H__