]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/train.qc
Kill the use of self in movetype code, to make it usable from the player physics...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / train.qc
index 0f827a60e37e4bdef4c8c031a84c5b927f9c11f7..80350e743b94ba07c27abf54cb3eb7c0f0bd47fb 100644 (file)
@@ -244,7 +244,7 @@ spawnfunc(func_train)
 void train_draw(entity this)
 {
        //Movetype_Physics_NoMatchServer();
-       Movetype_Physics_MatchServer(autocvar_cl_projectiles_sloppy);
+       Movetype_Physics_MatchServer(this, autocvar_cl_projectiles_sloppy);
 }
 
 NET_HANDLE(ENT_CLIENT_TRAIN, bool isnew)