1
This commit is contained in:
parent
b2dd48cb14
commit
ca340b7aa2
@ -153,8 +153,8 @@ void Room::AddPlayer(Player* hum)
|
||||
{
|
||||
assert(gas_data.gas_mode == GasInactive);
|
||||
{
|
||||
hum->pos.x = 3000 + rand() % 100;
|
||||
hum->pos.y = 3000 + rand() % 200;
|
||||
hum->pos.x = 200 + rand() % 100;
|
||||
hum->pos.y = 300 + rand() % 200;
|
||||
hum->attack_dir = hum->pos;
|
||||
hum->attack_dir.Normalize();
|
||||
hum->attack_dir.Rotate(a8::RandAngle());
|
||||
@ -250,8 +250,8 @@ void Room::CreateAndroid(int robot_num)
|
||||
hum->robot_meta = robot_meta;
|
||||
hum->entity_uniid = AllocUniid();
|
||||
{
|
||||
hum->pos.x = 3000 + rand() % 1400;
|
||||
hum->pos.y = 3000 + rand() % 1500;
|
||||
hum->pos.x = 200 + rand() % 1400;
|
||||
hum->pos.y = 300 + rand() % 1500;
|
||||
hum->attack_dir = hum->pos;
|
||||
hum->attack_dir.Normalize();
|
||||
hum->attack_dir.Rotate(a8::RandAngle());
|
||||
|
Loading…
x
Reference in New Issue
Block a user