1
This commit is contained in:
parent
d49ca2eb95
commit
101ea940b3
@ -213,6 +213,7 @@ void Room::AddPlayer(Player* hum)
|
||||
hum->attack_dir = hum->pos;
|
||||
hum->attack_dir.Normalize();
|
||||
hum->attack_dir.Rotate(a8::RandAngle());
|
||||
hum->move_dir = hum->attack_dir;
|
||||
}
|
||||
hum->entity_uniid = AllocUniid();
|
||||
hum->room = this;
|
||||
@ -276,6 +277,7 @@ void Room::ShuaAndroid()
|
||||
hum->attack_dir = hum->pos;
|
||||
hum->attack_dir.Normalize();
|
||||
hum->attack_dir.Rotate(a8::RandAngle());
|
||||
hum->move_dir = hum->attack_dir;
|
||||
}
|
||||
hum->room = this;
|
||||
hum->Initialize();
|
||||
|
2
third_party/a8engine
vendored
2
third_party/a8engine
vendored
@ -1 +1 @@
|
||||
Subproject commit ec92ae9234f30150e6c73307603511860fe6eb2d
|
||||
Subproject commit a9712f7ee833cd2cdfbf7b657b623283bb4cc54f
|
Loading…
x
Reference in New Issue
Block a user