• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

0.4 r3884 bug z itemami które emitują światło po zdjęciu lub wyłączeniu światło pozostaje na postaci

forumek

Member
Joined
Jan 14, 2019
Messages
61
Reaction score
23
Czy ktoś wie gdzie w source to naprawić
tutaj przykład z torchem

0.jpg
torch wyłaczony a postać nadal emituje światło
co ciekawe 3777 nie ma tego błędu
 
FIx:
w player.cpp zamień to:
C++:
if(maxLight.level > itemsLight.level || (maxLight.level == itemsLight.level && maxLight.color != itemsLight.color))
na to:
C++:
if(itemsLight.level != maxLight.level || itemsLight.color != maxLight.color)
 
Back
Top