General:
* Upgraded Steamworks SDK to v1.29 * Fixed mod compatibility problem with Multiplayer Base that was introduced in September. * In Hammer, while using the Vertex Tool, pressing CTRL+B will snap selected vertices to the grid. Virtual Reality: * Mods that support virtual reality now need to have a line in gameinfo.txt that says “supportsvr 1”. This indicates to gameui and engine that certain UI should be enabled. * VR-enabled mods will now start up in VR mode when launched from Steam’s VR mode. Windows: * Upgraded to Visual Studio 2013. If you need to build projects for VS 2010, add /2010 to your VPC command line. OSX: * Upgraded to XCode 5.
This commit is contained in:
@@ -589,7 +589,7 @@ void DrawTeslaSegs( int noise_divisions, float *prgNoise, const model_t* spritem
|
||||
curSeg.m_flWidth = ((fraction*(endWidth-startWidth))+startWidth) * 2;
|
||||
|
||||
// Reduce the width by the current number of branches we've had
|
||||
for ( int j = 0; i < iBranches; j++ )
|
||||
for ( int j = 0; j < iBranches; j++ )
|
||||
{
|
||||
curSeg.m_flWidth *= 0.5;
|
||||
}
|
||||
@@ -619,7 +619,7 @@ void DrawTeslaSegs( int noise_divisions, float *prgNoise, const model_t* spritem
|
||||
|
||||
// Reduce the end width by the current number of branches we've had
|
||||
flEndWidth = endWidth;
|
||||
for ( int j = 0; i < iBranches; j++ )
|
||||
for ( int j = 0; j < iBranches; j++ )
|
||||
{
|
||||
flEndWidth *= 0.5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user