]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a comment
authorFreddy <schro.sb@gmail.com>
Sun, 11 Mar 2018 15:23:27 +0000 (16:23 +0100)
committerFreddy <schro.sb@gmail.com>
Sun, 11 Mar 2018 15:23:27 +0000 (16:23 +0100)
qcsrc/common/triggers/target/levelwarp.qc

index 6cef53d6e558c5fe76aaae3bcfa7a9fece1ce90c..21419cf81a1e52c8ae056b02f1f81704d9d12249 100644 (file)
@@ -14,6 +14,8 @@ void target_levelwarp_use(entity this, entity actor, entity trigger)
 
 spawnfunc(target_levelwarp)
 {
+       // this.cnt is index (starting from 1) of the campaign level to warp to
+       // 0 means next level
        this.use = target_levelwarp_use;
 }
 #endif