Merge branch 'master' of https://git.teknik.io/scuti/reflex2q3
This commit is contained in:
commit
a52339e574
@ -283,7 +283,7 @@ EntityConverter::convertPickup(const std::vector<std::string> &lines) const
|
||||
std::stringstream pickupStream;
|
||||
pickupStream << "\"classname\" \"" << pickupIter->second << "\"" << std::endl;
|
||||
convertedLines.push_back ( pickupStream.str() );
|
||||
// coordinates reordered to x, z, yentity
|
||||
// coordinates reordered to x, z, y
|
||||
std::stringstream positionStream;
|
||||
positionStream << "\"origin\" \"" << coords[0] << " " << coords[2] << " " <<
|
||||
offset(coords[1], OFFSET_PICKUP) << "\"" << std::endl;
|
||||
@ -641,10 +641,8 @@ EntityConverter::convertPointLight(const std::vector<std::string> &lines) const
|
||||
float red;
|
||||
float green;
|
||||
float blue;
|
||||
if ( haveColor ) {
|
||||
// Convert 32bit hex RGBA value (ALPHA ALWAYS FULL) into RGB values
|
||||
hexToRGB(color, red, green, blue);
|
||||
}
|
||||
// Convert 32bit hex RGBA value (ALPHA ALWAYS FULL) into RGB values
|
||||
hexToRGB(color, red, green, blue);
|
||||
|
||||
std::stringstream colorStream;
|
||||
colorStream << "\"_color\" \"" << red << " " << green << " " << blue << "\"" << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user