Cube  Diff

Differences From Artifact [aa08365e90]:

To Artifact [27ea25a917]:


290
291
292
293
294
295
296
297
298
299



300
301
302
303
304
305
306
290
291
292
293
294
295
296



297
298
299
300
301
302
303
304
305
306







-
-
-
+
+
+







	case JUMPPAD: {
		static int lastjumppad = 0;
		if (lastmillis - lastjumppad < 300)
			break;
		lastjumppad = lastmillis;
		OFVector3D v = OFMakeVector3D((int)(char)ents[n].attr3 / 10.0f,
		    (int)(char)ents[n].attr2 / 10.0f, ents[n].attr1 / 10.0f);
		player1.velocity =
		    OFMakeVector3D(player1.velocity.x, player1.velocity.y, 0);
		vadd(player1.velocity, v);
		player1.velocity = OFAddVectors3D(
		    OFMakeVector3D(player1.velocity.x, player1.velocity.y, 0),
		    v);
		playsoundc(S_JUMPPAD);
		break;
	}
	}
}

void