r71 - trunk/src/objects
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Oct 5 04:42:53 EDT 2004
Author: jonas
Date: 2004-10-05 04:42:53 -0400 (Tue, 05 Oct 2004)
New Revision: 71
Modified:
trunk/src/objects/eric.cpp
Log:
fixes a bug (Eric couldn't hitrun monsters)
Modified: trunk/src/objects/eric.cpp
===================================================================
--- trunk/src/objects/eric.cpp 2004-10-03 10:56:52 UTC (rev 70)
+++ trunk/src/objects/eric.cpp 2004-10-05 08:42:53 UTC (rev 71)
@@ -54,9 +54,11 @@
//TODO: check STATE_WATER
if (dt < 0) {
input->unsetState(INPUT_SP2);
+ dense_types&=~OTYPE_MONSTER;
if (state&STATE_RUN) cancelEvent();
return;
}
+ dense_types|=OTYPE_MONSTER;
if (state&STATE_RUN) {
if (state&STATE_FALL) cancelEvent();
} else if (state&STATE_MLEFT) {
More information about the lostpenguins-commits
mailing list