Decompile fn_07080 (CCompetentia::Open)
Batch #15846 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_07080 CCompetentia::Open: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
0a2ea1e4e7
commit
33a629233e
1 changed files with 3 additions and 3 deletions
|
|
@ -50,9 +50,9 @@ void CCompetentia::Close() {
|
|||
// OFFSET: 0x00708AD0
|
||||
// FUNCTION: fn_07080
|
||||
void CCompetentia::Open() {
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
const vector2d point = RandomDiscPoint(this->position[0], this->position[2], 50);
|
||||
vector3d pos;
|
||||
for (__int64 i = 0; i < 10; ++i) {
|
||||
vector3d pos = *reinterpret_cast<const vector3d*>(this->position);
|
||||
const vector2d point = RandomDiscPoint(pos.x, pos.z, 50);
|
||||
pos.x = point.x;
|
||||
pos.z = point.y;
|
||||
CGameMode* mode = static_cast<CGameMode*>(g_modeMgr.GetGameMode());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue