]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/conveyor.qc
s/world/NULL/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / conveyor.qc
index b8980a1561aae5f40f5f013233901ec4e0bb1e34..e2335b88314fef3d6470f5854860df0b09573cad 100644 (file)
@@ -11,8 +11,8 @@ void conveyor_think(entity this)
        entity e;
 
        // set mythis as current conveyor where possible
-       for(e = world; (e = findentity(e, conveyor, this)); )
-               e.conveyor = world;
+       for(e = NULL; (e = findentity(e, conveyor, this)); )
+               e.conveyor = NULL;
 
        if(this.state)
        {
@@ -32,7 +32,7 @@ void conveyor_think(entity this)
                                                        e.conveyor = this;
                                }
 
-               for(e = world; (e = findentity(e, conveyor, this)); )
+               for(e = NULL; (e = findentity(e, conveyor, this)); )
                {
                        if(IS_CLIENT(e)) // doing it via velocity has quite some advantages
                                continue; // done in SV_PlayerPhysics   continue;