viciious/qfusion — pull request #37 by hettoo (2013-11-09 12:26:03+00:00)
Title: Map caching

In the first Warsow 0.7 beta, the "ml_initialized = qfalse" was moved up in ML_Shutdown, causing the ML_BuildCache call to do nothing.
The same already held for the ML_BuildCache call in ML_Init, but that was useless anyway.

Also fixed a bug in ML_GetFullname which made it return an empty string all the time. This function wasn't actually used at all until G_VoteMapWebRequest was added.

On a related note, the Warsow ui code for the local game tab uses the long map name to start the server, but this name is not guaranteed to be unique (there are over 40 "Made By Pornstar" racemaps).
To fix this, line 85 of ui/porkui/game_local.rml should read "map = data.getField( 'list', selectedRow, 'name' );".