[nexuiz-commits] r6774 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue May 26 05:04:47 EDT 2009
Author: mrbougo
Date: 2009-05-26 05:04:47 -0400 (Tue, 26 May 2009)
New Revision: 6774
Modified:
trunk/data/qcsrc/server/t_plats.qc
Log:
make the door entities stop their movement on reset
Modified: trunk/data/qcsrc/server/t_plats.qc
===================================================================
--- trunk/data/qcsrc/server/t_plats.qc 2009-05-26 08:40:54 UTC (rev 6773)
+++ trunk/data/qcsrc/server/t_plats.qc 2009-05-26 09:04:47 UTC (rev 6774)
@@ -1181,6 +1181,7 @@
void door_reset()
{
setorigin(self, self.pos1);
+ self.velocity = '0 0 0';
self.state = STATE_BOTTOM;
self.think = SUB_Null;
}
@@ -1282,6 +1283,7 @@
void door_rotating_reset()
{
self.angles = self.pos1;
+ self.avelocity = '0 0 0';
self.state = STATE_BOTTOM;
self.think = SUB_Null;
}
More information about the nexuiz-commits
mailing list