1
This commit is contained in:
parent
9046f1c8ef
commit
19aa4a38c0
@ -250,8 +250,8 @@ const int GUN_SLOT2 = 2;
|
|||||||
const int FRAG_SLOT = 3;
|
const int FRAG_SLOT = 3;
|
||||||
const int SMOKE_SLOT = 4;
|
const int SMOKE_SLOT = 4;
|
||||||
|
|
||||||
const int MAP_HEIGHT = 32*75;
|
const int MAP_HEIGHT = 32*65;
|
||||||
const int MAP_WIDTH = 32*65;
|
const int MAP_WIDTH = 32*75;
|
||||||
const int MAP_CELL_WIDTH = 64 * 8;
|
const int MAP_CELL_WIDTH = 64 * 8;
|
||||||
const int MAP_GRID_WIDTH = 64;
|
const int MAP_GRID_WIDTH = 64;
|
||||||
|
|
||||||
|
@ -182,7 +182,9 @@ void Room::AddPlayer(Player* hum)
|
|||||||
human_hash_[hum->entity_uniid] = hum;
|
human_hash_[hum->entity_uniid] = hum;
|
||||||
++alive_count_;
|
++alive_count_;
|
||||||
grid_service.AddHuman(hum);
|
grid_service.AddHuman(hum);
|
||||||
|
#if 0
|
||||||
hum->FindLocation();
|
hum->FindLocation();
|
||||||
|
#endif
|
||||||
hum->RefreshView();
|
hum->RefreshView();
|
||||||
MatchTeam(hum);
|
MatchTeam(hum);
|
||||||
NotifyUiUpdate();
|
NotifyUiUpdate();
|
||||||
@ -281,7 +283,9 @@ void Room::CreateAndroid(int robot_num)
|
|||||||
human_hash_[hum->entity_uniid] = hum;
|
human_hash_[hum->entity_uniid] = hum;
|
||||||
++alive_count_;
|
++alive_count_;
|
||||||
grid_service.AddHuman(hum);
|
grid_service.AddHuman(hum);
|
||||||
|
#if 0
|
||||||
hum->FindLocation();
|
hum->FindLocation();
|
||||||
|
#endif
|
||||||
hum->RefreshView();
|
hum->RefreshView();
|
||||||
{
|
{
|
||||||
hum->team_id = NewTeam();
|
hum->team_id = NewTeam();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user