mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
* Fix uninitialized shadow tint This resulted in shadows having a different, random color each time I started a game * Fix formatting mistakes from the same PR
This commit is contained in:
parent
65ec371b78
commit
fbb0e82679
2 changed files with 3 additions and 4 deletions
|
@ -56,5 +56,5 @@ struct Lighting
|
||||||
float shadow_intensity {0.0f};
|
float shadow_intensity {0.0f};
|
||||||
float saturation {1.0f};
|
float saturation {1.0f};
|
||||||
float volumetric_light_strength {0.0f};
|
float volumetric_light_strength {0.0f};
|
||||||
video::SColor shadow_tint;
|
video::SColor shadow_tint {255, 0, 0, 0};
|
||||||
};
|
};
|
||||||
|
|
|
@ -229,7 +229,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
[bump for 5.9.1]
|
[bump for 5.9.1]
|
||||||
PROTOCOL VERSION 46:
|
PROTOCOL VERSION 46:
|
||||||
Move default hotbar from client-side C++ to server-side builtin Lua
|
Move default hotbar from client-side C++ to server-side builtin Lua
|
||||||
Add shadow tint to Lighting packets
|
Add shadow tint to Lighting packets
|
||||||
Add shadow color to CloudParam packets
|
Add shadow color to CloudParam packets
|
||||||
Move death screen to server and make it a regular formspec
|
Move death screen to server and make it a regular formspec
|
||||||
The server no longer triggers the hardcoded client-side death
|
The server no longer triggers the hardcoded client-side death
|
||||||
|
@ -241,7 +241,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LATEST_PROTOCOL_VERSION 46
|
#define LATEST_PROTOCOL_VERSION 46
|
||||||
|
|
||||||
#define LATEST_PROTOCOL_VERSION_STRING TOSTRING(LATEST_PROTOCOL_VERSION)
|
#define LATEST_PROTOCOL_VERSION_STRING TOSTRING(LATEST_PROTOCOL_VERSION)
|
||||||
|
|
||||||
// Server's supported network protocol range
|
// Server's supported network protocol range
|
||||||
|
@ -1182,4 +1181,4 @@ enum InteractAction : u8
|
||||||
INTERACT_PLACE, // 3: place block or item (to abovesurface)
|
INTERACT_PLACE, // 3: place block or item (to abovesurface)
|
||||||
INTERACT_USE, // 4: use item
|
INTERACT_USE, // 4: use item
|
||||||
INTERACT_ACTIVATE // 5: rightclick air ("activate")
|
INTERACT_ACTIVATE // 5: rightclick air ("activate")
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue