1
This commit is contained in:
parent
cb9d71cb3f
commit
e81a467e2a
@ -28,6 +28,7 @@
|
||||
#include "effect.h"
|
||||
#include "stats.h"
|
||||
#include "team.h"
|
||||
#include "bornpoint.h"
|
||||
|
||||
#include "mt/Param.h"
|
||||
#include "mt/Hero.h"
|
||||
@ -2560,15 +2561,22 @@ void Creature::OnLand()
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!ok) {
|
||||
abort();
|
||||
}
|
||||
#if 1
|
||||
if (point.y < 1.2) {
|
||||
point.y = 3.0f;
|
||||
}
|
||||
#endif
|
||||
room->map_instance->UnScale(point);
|
||||
if (!ok) {
|
||||
#if 1
|
||||
if (IsHuman()) {
|
||||
point = AsHuman()->born_point->RandPoint().ToGlmVec3();
|
||||
}
|
||||
#else
|
||||
abort();
|
||||
#endif
|
||||
} else {
|
||||
room->map_instance->UnScale(point);
|
||||
}
|
||||
Global::Instance()->verify_set_pos = 1;
|
||||
GetMutablePos().FromGlmVec3(point);
|
||||
Global::Instance()->verify_set_pos = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user