Skip to content

Commit 457ed6c

Browse files
committed
Temp fix for sentry falling into world before proper fix
1 parent 83f58ab commit 457ed6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ssqc/engineer.qc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,8 @@ void (float objtobuild, float offset) TeamFortress_Build = {
612612
self.sentry_ticks = 0;
613613
}
614614

615+
setsize(newmis, tmp1, tmp2);
616+
615617
if (!PlaceSentry(newmis, self.origin)) {
616618
sprint(self, PRINT_HIGH, "You can't build here\n");
617619
dremove(newmis);
@@ -652,7 +654,6 @@ void (float objtobuild, float offset) TeamFortress_Build = {
652654
newmis.movetype = 6;
653655
newmis.solid = 2;
654656
FO_SetModel(newmis, newmis.mdl);
655-
setsize(newmis, tmp1, tmp2);
656657
setorigin(newmis, newmis.origin);
657658
newmis.flags = newmis.flags - (newmis.flags & 512);
658659

0 commit comments

Comments
 (0)