mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Change default speed to 10
This commit is contained in:
parent
8efc4b93e7
commit
97a5def2aa
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ namespace TEN::Entities::Traps
|
|||
|
||||
constexpr auto MOVING_LASER_DAMAGE = 100;
|
||||
constexpr int PAUSE_FRAMES = 30;
|
||||
constexpr float MAX_SPEED_THRESHOLD = 0.8f;
|
||||
constexpr float MAX_SPEED_THRESHOLD = 0.9f;
|
||||
constexpr float MIN_SPEED = 1.0f;
|
||||
constexpr float ACCELERATION = 8.0f;
|
||||
|
||||
|
@ -37,7 +37,7 @@ namespace TEN::Entities::Traps
|
|||
{
|
||||
auto& item = g_Level.Items[itemNumber];
|
||||
item.ItemFlags[Direction] = 1;
|
||||
item.ItemFlags[Speed] = 4;
|
||||
item.ItemFlags[Speed] = 10;
|
||||
item.ItemFlags[SpeedCalc] = MIN_SPEED;
|
||||
item.Pose.Translate(item.Pose.Orientation, -CLICK(1)); //Offset by one click to make it dangerous at the edges of the block.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue