mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-16 17:01:41 +00:00
bah, // comments between if and { :P
This commit is contained in:
parent
04f269992a
commit
de9a59fbf2
1 changed files with 4 additions and 2 deletions
|
@ -299,7 +299,8 @@ void() bot_handle_ai =
|
||||||
if (self.b_aiflags & AI_WAIT)
|
if (self.b_aiflags & AI_WAIT)
|
||||||
self.keys = self.keys & 960;
|
self.keys = self.keys & 960;
|
||||||
|
|
||||||
if (self.b_aiflags & AI_DOORFLAG) // was on a door when spawned {
|
if (self.b_aiflags & AI_DOORFLAG) {
|
||||||
|
// was on a door when spawned
|
||||||
b_temp3 = self;
|
b_temp3 = self;
|
||||||
self = self.last_way;
|
self = self.last_way;
|
||||||
// if there is nothing there now
|
// if there is nothing there now
|
||||||
|
@ -459,7 +460,8 @@ void() bot_path =
|
||||||
self.b_aiflags = (jj.b_aiflags & AI_READAHEAD_TYPES) | (self.last_way.b_aiflags & AI_POINT_TYPES);
|
self.b_aiflags = (jj.b_aiflags & AI_READAHEAD_TYPES) | (self.last_way.b_aiflags & AI_POINT_TYPES);
|
||||||
target_add(jj);
|
target_add(jj);
|
||||||
if (self.last_way) {
|
if (self.last_way) {
|
||||||
if (CheckLinked(self.last_way, jj) == 2) // waypoints are telelinked {
|
if (CheckLinked(self.last_way, jj) == 2) {
|
||||||
|
// waypoints are telelinked
|
||||||
tele = FindThing("trigger_teleport"); // this is probbly the teleport responsible
|
tele = FindThing("trigger_teleport"); // this is probbly the teleport responsible
|
||||||
target_add(tele);
|
target_add(tele);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue