Skip to content
This repository has been archived by the owner. It is now read-only.

CPopulation done, CCopPed and fixes #344

Merged
merged 2 commits into from Mar 11, 2020
Merged

CPopulation done, CCopPed and fixes #344

merged 2 commits into from Mar 11, 2020

Conversation

@erorcun
Copy link
Collaborator

@erorcun erorcun commented Mar 7, 2020

No description provided.

src/peds/CopPed.cpp Outdated Show resolved Hide resolved
@ghost
ghost approved these changes Mar 7, 2020
Copy link

@ghost ghost left a comment

looks good

src/peds/Population.cpp Outdated Show resolved Hide resolved
int minX = CWorld::GetSectorIndexX(dummy->GetPosition().x - colRadius);
if (minX < 0) minX = 0;
int minY = CWorld::GetSectorIndexY(dummy->GetPosition().y - colRadius);
if (minY < 0) minY = 0;
int maxX = CWorld::GetSectorIndexX(dummy->GetPosition().x + colRadius);
if (maxX > NUMSECTORS_X) maxX = NUMSECTORS_X;
int maxY = CWorld::GetSectorIndexY(dummy->GetPosition().y + colRadius);
if (maxY > NUMSECTORS_Y) maxY = NUMSECTORS_Y;
Comment on lines 1012 to 1019

This comment has been minimized.

This comment has been minimized.

@erorcun

erorcun Mar 9, 2020
Author Collaborator

aap does the same, and there are many places that I may need to change if I attempt that, so I don't wanna do that :/

src/peds/CopPed.cpp Outdated Show resolved Hide resolved
@erorcun erorcun force-pushed the erorcun:erorcun branch 2 times, most recently from 7dcb26e to 5460954 Mar 9, 2020
@erorcun erorcun force-pushed the erorcun:erorcun branch from 5460954 to 934e9db Mar 11, 2020
@erorcun erorcun changed the title CPopulation done and CCopPed CPopulation done, CCopPed and fixes Mar 11, 2020
@erorcun erorcun merged commit 3e78600 into GTAmodding:master Mar 11, 2020
1 check passed
1 check passed
@appveyor
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants