mirror of
https://github.com/glest/glest-source.git
synced 2025-08-25 17:20:43 +02:00
Test fix for LUA environment variables
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
#include "interpolation.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
#ifndef FLT_EPSILON
|
||||
#define FLT_EPSILON 1.192092896e-07F
|
||||
#endif
|
||||
|
||||
using namespace Shared::Platform;
|
||||
|
||||
@@ -28,8 +30,7 @@ namespace Shared {
|
||||
|
||||
void MeshCallback::execute(const Mesh *mesh, float alpha) {
|
||||
alpha *= mesh->getOpacity();
|
||||
//team color
|
||||
uint8 factionOpacity = mesh->getFactionColorOpacity();
|
||||
uint8 factionOpacity = mesh->getFactionColorOpacity(); //team color
|
||||
float color[4];
|
||||
color[0] = 1.0f; // Red
|
||||
color[1] = 1.0f; // Green
|
||||
|
@@ -234,6 +234,7 @@ namespace Shared {
|
||||
//string appPath="";
|
||||
//appPath.assign(&pMBBuffer[0]); // Now assign the char* to the string, and there you have it!!! :)
|
||||
std::string appPath = utf8_encode(szPath);
|
||||
replaceAll(appPath, "\\", "/");
|
||||
|
||||
//string appPath = szPath;
|
||||
mapTagReplacementValues["$APPDATA"] = appPath;
|
||||
|
Reference in New Issue
Block a user