mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Rename PALDOWN macro to TICKS
This commit is contained in:
1 parent
960baf33a8
commit
f9fbf288f8
49 files changed
+350
-350
No files matched your search
+2
-2
@@ -138,7 +138,7 @@ void botcmdTickDistMode(struct chrdata *chr)
|
||||
if (!insight) {
|
||||
newmode = BOTDISTMODE_ADVANCE;
|
||||
aibot->unk050 = targetprop;
|
||||
aibot->unk09d = PALDOWN(20) + (random() % PALDOWN(120));
|
||||
aibot->unk09d = TICKS(20) + (random() % TICKS(120));
|
||||
} else if (aibot->unk050) {
|
||||
if (aibot->unk09d > g_Vars.lvupdate240_60) {
|
||||
aibot->unk09d -= g_Vars.lvupdate240_60;
|
||||
@@ -178,7 +178,7 @@ void botcmdTickDistMode(struct chrdata *chr)
|
||||
break;
|
||||
}
|
||||
|
||||
aibot->distmodettl60 = PALDOWN(60);
|
||||
aibot->distmodettl60 = TICKS(60);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user