mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-28 10:10:43 -04:00
Decompile scenarioCtcReset
This commit is contained in:
+1
-1
@@ -10684,7 +10684,7 @@ void botTickUnpaused(struct chrdata *chr)
|
||||
s32 numtokens = 0;
|
||||
|
||||
for (i = 0; i != 4; i++) {
|
||||
if (i != botteamindex && g_ScenarioData.ctc.unk00[i]) {
|
||||
if (i != botteamindex && g_ScenarioData.ctc.playercountsperteam[i]) {
|
||||
if (g_ScenarioData.ctc.tokens[i]->type == PROPTYPE_WEAPON
|
||||
|| g_ScenarioData.ctc.tokens[i]->type == PROPTYPE_OBJ) {
|
||||
// Token is not held
|
||||
|
||||
+185
-924
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -4806,7 +4806,7 @@ struct ctcspawnpadsperteam {
|
||||
};
|
||||
|
||||
struct scenariodata_ctc {
|
||||
/*0x00*/ s16 unk00[4]; // teams enabled?
|
||||
/*0x00*/ s16 playercountsperteam[4];
|
||||
/*0x08*/ s16 teamindexes[4];
|
||||
/*0x10*/ s16 baserooms[4];
|
||||
/*0x18*/ struct ctcspawnpadsperteam spawnpadsperteam[4];
|
||||
|
||||
Reference in New Issue
Block a user