r4627 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Oct 4 16:16:03 EDT 2008
Author: div0
Date: 2008-10-04 16:16:03 -0400 (Sat, 04 Oct 2008)
New Revision: 4627
Modified:
trunk/data/qcsrc/server/g_hook.qc
Log:
fix hook bug, but why?
Modified: trunk/data/qcsrc/server/g_hook.qc
===================================================================
--- trunk/data/qcsrc/server/g_hook.qc 2008-10-04 19:47:01 UTC (rev 4626)
+++ trunk/data/qcsrc/server/g_hook.qc 2008-10-04 20:16:03 UTC (rev 4627)
@@ -68,6 +68,11 @@
}
float LostMovetypeFollow(entity ent)
{
+/*
+ if(ent.movetype != MOVETYPE_FOLLOW)
+ if(ent.aiment)
+ error("???");
+*/
if(ent.aiment)
{
if(ent.aiment.classname != ent.aiment_classname)
@@ -274,11 +279,12 @@
}
}
+ GrapplingHook_Stop();
+
if(other)
if(other.movetype != MOVETYPE_NONE)
SetMovetypeFollow(self, other);
- GrapplingHook_Stop();
//self.owner.disableclientprediction = TRUE;
}
More information about the nexuiz-commits
mailing list