mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 13:21:32 +00:00
Server: Add hlrendermode hack for FTE
This commit is contained in:
parent
68a8fcb4ac
commit
216d6124a4
2 changed files with 17 additions and 1 deletions
|
@ -597,6 +597,10 @@ void() func_door =
|
||||||
// the sizes can be detected properly.
|
// the sizes can be detected properly.
|
||||||
self.think = LinkDoors;
|
self.think = LinkDoors;
|
||||||
self.nextthink = self.ltime + 0.1;
|
self.nextthink = self.ltime + 0.1;
|
||||||
|
|
||||||
|
#ifdef PC
|
||||||
|
HalfLife_DoRender();
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void() func_door_nzp =
|
void() func_door_nzp =
|
||||||
|
@ -693,4 +697,8 @@ void() func_door_nzp =
|
||||||
// the sizes can be detected properly.
|
// the sizes can be detected properly.
|
||||||
self.think = LinkDoors;
|
self.think = LinkDoors;
|
||||||
self.nextthink = self.ltime + 0.1;
|
self.nextthink = self.ltime + 0.1;
|
||||||
|
|
||||||
|
#ifdef PC
|
||||||
|
HalfLife_DoRender();
|
||||||
|
#endif
|
||||||
};
|
};
|
|
@ -34,6 +34,10 @@ void() func_wall =
|
||||||
self.movetype = MOVETYPE_PUSH; // so it doesn't get pushed by anything
|
self.movetype = MOVETYPE_PUSH; // so it doesn't get pushed by anything
|
||||||
self.solid = SOLID_BSP;
|
self.solid = SOLID_BSP;
|
||||||
setmodel (self, self.model);
|
setmodel (self, self.model);
|
||||||
|
|
||||||
|
#ifdef PC
|
||||||
|
HalfLife_DoRender();
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void() func_illusionary =
|
void() func_illusionary =
|
||||||
|
@ -193,6 +197,10 @@ void() func_button =
|
||||||
|
|
||||||
self.pos1 = self.origin;
|
self.pos1 = self.origin;
|
||||||
self.pos2 = self.pos1 + self.movedir*(fabs(self.movedir*self.size) - self.lip);
|
self.pos2 = self.pos1 + self.movedir*(fabs(self.movedir*self.size) - self.lip);
|
||||||
|
|
||||||
|
#ifdef PC
|
||||||
|
HalfLife_DoRender();
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void() flame_update = {
|
void() flame_update = {
|
||||||
|
|
Loading…
Reference in a new issue