func_wall: Fix networking of the frame/texture attribute

This commit is contained in:
Marco Cawthorne 2020-09-10 14:57:40 +02:00
parent 518deec5c6
commit 22602fd96a

View file

@ -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);
}
}