r4267 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Aug 30 14:46:10 EDT 2008
Author: div0
Date: 2008-08-30 14:46:08 -0400 (Sat, 30 Aug 2008)
New Revision: 4267
Modified:
trunk/data/qcsrc/server/g_hook.qc
Log:
that changes nothing, but looks cleaner :P (hook emergency remove code)
Modified: trunk/data/qcsrc/server/g_hook.qc
===================================================================
--- trunk/data/qcsrc/server/g_hook.qc 2008-08-30 17:03:52 UTC (rev 4266)
+++ trunk/data/qcsrc/server/g_hook.qc 2008-08-30 18:46:08 UTC (rev 4267)
@@ -116,7 +116,7 @@
vector dir, org, end, v0, dv;
if(self.owner.health <= 0 || self.owner.hook != self) // how did that happen?
{ // well, better fix it anyway
- remove(self);
+ RemoveGrapplingHook(self.owner);
return;
}
if(LostMovetypeFollow(self))
More information about the nexuiz-commits
mailing list