mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
* LightProfile_Struct::TypeToLevel. The case statement for lightLevelCandle should be lightTypeCandle as the check is on light types, not light levels. Light levels are used for the return value.
This commit is contained in:
parent
6fc5f8fba2
commit
1711b06836
@ -2416,7 +2416,7 @@ uint8 LightProfile_Struct::TypeToLevel(uint8 lightType)
|
||||
return lightLevelSmallMagic; // 3
|
||||
case lightTypeTorch:
|
||||
return lightLevelTorch; // 2
|
||||
case lightLevelCandle:
|
||||
case lightTypeCandle:
|
||||
return lightLevelCandle; // 1
|
||||
default:
|
||||
return lightLevelUnlit; // 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user