]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
warpzonelib: when the same target is supported by multiple zones, randomize. However...
authorRudolf Polzer <rpolzer@nb-04.(none)>
Mon, 22 Mar 2010 15:42:25 +0000 (16:42 +0100)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Mon, 22 Mar 2010 15:42:25 +0000 (16:42 +0100)
commit2f0a0dcac813d09ade75cda471a28b351b1af8e0
treee629b46bc5706b0acfa86cb2df64e231799b9d0b
parentc213753437471d6067e080834c4a20b15c6f6a1d
warpzonelib: when the same target is supported by multiple zones, randomize. However, even when randomizing, all warpzones must get a counterpart.

Possible uses:

- n warpzones with same target, n warpzones with matching targetname - may use any way to match them together randomly
- 2n warpzones with same target == targetname - any pair of them may get connected

Also, a new entity trigger_warpzone_reconnect that causes them to reconnect at runtime
qcsrc/warpzonelib/server.qc