Skip to content

Commit e18ab06

Browse files
committed
Fixed Ambush::SpawnBossrushWave signature
1 parent 103be1e commit e18ab06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libzhl/functions/Ambush.zhl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
"558bec83e4f083ec18a1":
22
__thiscall void Ambush::StartChallenge();
33

4-
"558bec6aff68????????64a1????????5083ec6c535657a1????????33c5508d45??64a3????????8bf1":
4+
"558bec6aff68????????64a1????????5081ec94000000535657a1????????33c5508d45??64a3????????8bf1":
55
__thiscall void Ambush::SpawnBossrushWave();
66

77
"538bdc83ec0883e4f883c404558b6b??896c24??8bec6aff68????????64a1????????505383ec58a1????????33c58945??5657508d45??64a3????????8bf98b35":
88
__thiscall void Ambush::SpawnWave();
99

1010
struct Ambush depends (RNG) { {{
11-
inline int* GetMaxBossrushWaves() {return (int*)((char*)this + 0x18); }
12-
inline int* GetNumBossesPerWave() {return (int*)((char*)this + 0x1C); }
13-
inline int* GetCurrentWave() {return (int*)((char*)this + 0x24); }
11+
inline int* GetMaxBossrushWaves() {return &this->maxBossWaves; }
12+
inline int* GetNumBossesPerWave() {return &this->bossesPerWave; }
13+
inline int* GetCurrentWave() {return &this->currentWave; }
1414
}}
1515
int maxBossWaves : 0x18;
1616
int bossesPerWave: 0x1C;

0 commit comments

Comments
 (0)