Bug 2690 - maprotation.cfg map command blocks not working
Status: RESOLVED FIXED
Alias: None
Product: Tremulous
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: All All
: P2 normal
Assignee: Tim Angus
QA Contact:
URL: http://tjw.org/tremulous/
Depends on:
Blocks:
 
Reported: 2006-04-24 15:26 EDT by Tony J. White
Modified: 2006-04-24 17:07:55 EDT
1 user (show)

See Also:


Attachments
fix map command block parsing (491 bytes, patch)
2006-04-24 15:27 EDT, Tony J. White

Description Tony J. White 2006-04-24 15:26:59 EDT
Any command block following a map in maprotation.cfg that is over 16 characters fails to parse correctly.  For example:

rotation1
{
  karith
  {
  set g_alienBuildPoints 150
  set g_humanBuildPoints 150
  }
}

would fail to run the set commands.

patch attached.
Comment 1 Tony J. White 2006-04-24 15:27:41 EDT
Created attachment 894 [details]
fix map command block parsing
Comment 2 Tim Angus 2006-04-24 17:07:55 EDT
Please don't tell my employer about this one :)