From EDukeWiki
Revision as of 22:08, 28 January 2005 by Plugwash (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

randvar and randvarvar generate a random number and put it in a variable.

randvar and randvarvar MUST NOT be used in unsynchronised code or you will get a desync. furthermore this desync is insiduous and won't appear immidiately but only the next time the random number generator is used for its proper function.

in the official eduke releases and many modified versions (including current releases of eduke32) this is broken and use will desync multiplayer

we have now fixed it