forked from bartvdbraak/blender
BGE: 1-liner patch to put the Always sensor in non pulse mode by default. I've seen enough games with Always sensors in pulse mode while they should not; this patch should prevent this common mistake.
This commit is contained in:
parent
f5bacc6c8a
commit
c7519789b8
@ -134,7 +134,7 @@ void init_sensor(bSensor *sens)
|
||||
|
||||
switch(sens->type) {
|
||||
case SENS_ALWAYS:
|
||||
sens->pulse = 1;
|
||||
sens->pulse = 0;
|
||||
break;
|
||||
case SENS_TOUCH:
|
||||
sens->data= MEM_callocN(sizeof(bTouchSensor), "touchsens");
|
||||
|
Loading…
Reference in New Issue
Block a user