func_wall: Fix networking of the frame/texture attribute
This commit is contained in:
parent
518deec5c6
commit
22602fd96a
1 changed files with 3 additions and 3 deletions
|
@ -32,13 +32,13 @@ func_wall::Trigger(entity act, int state)
|
|||
{
|
||||
switch (state) {
|
||||
case TRIG_OFF:
|
||||
frame = 0;
|
||||
SetFrame(0);
|
||||
break;
|
||||
case TRIG_ON:
|
||||
frame = 1;
|
||||
SetFrame(1);
|
||||
break;
|
||||
default:
|
||||
frame = 1 - frame;
|
||||
SetFrame(1 - frame);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue