Project

General

Profile

Bug #523

lightref_original doesn't work for coloured lighting

Added by vermil almost 14 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2008-07-11
% Done:

100%


Description

Seems referencing a sectors original colored lighting doesn't work (Dday's documentation and the Src state/show it should). Dday just does nothing.

Line Type{
ID = X
Class = sector_light
Type = timed_off
Flags = player_use
Flags2 = when_act | any
Count = -1
Time = 1;
Ip0 = "lsref_all"
Ip2 = 0
Ip3 = 1
Ip6 = "lightref_original";
}

Labels: XG

History

#1 Updated by danij almost 14 years ago

Logged In: YES
user_id=849456
Originator: NO

Can you give me a step by step (or better yet, an example) to allow me to reproduce this please, as I've just tried replicating what I think you are reporting and it worked as expected.

#2 Updated by vermil almost 14 years ago

Logged In: YES
user_id=1420350
Originator: YES

Well, as we discussed via PM at New Doom very recently, resulting in you deciding it was a bug (hence why I posted it here).

I change colored lighting across the map via another def that set's it to all cl to an absolute value. Works fine.

However, when I try to restore the cl to the original values set at map load using lightref_original, it doesn't work and has no effect.

I have tried the above with sector lighting (i.e. with Ip2 and 4 instead of 3 and 6) and it works flawlessly.

#3 Updated by danij over 13 years ago

Fixed in svn for 1.9.0-beta6

Also available in: Atom PDF