r154 - trunk/src
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Sep 6 08:25:30 EDT 2005
Author: jonas
Date: 2005-09-06 08:25:30 -0400 (Tue, 06 Sep 2005)
New Revision: 154
Modified:
trunk/src/players_common.cpp
Log:
removed the STATE_M* resets on hit. This fixes the flickering when moving into a dense object...
Modified: trunk/src/players_common.cpp
===================================================================
--- trunk/src/players_common.cpp 2005-09-06 12:12:40 UTC (rev 153)
+++ trunk/src/players_common.cpp 2005-09-06 12:25:30 UTC (rev 154)
@@ -254,17 +254,14 @@
if (event) event->cancel();
switch (dir) {
case DIR_LEFT: {
- unsetState(STATE_MLEFT);
hspeed=0;
break;
}
case DIR_RIGHT: {
- unsetState(STATE_MRIGHT);
hspeed=0;
break;
}
case DIR_UP: {
- unsetState(STATE_MUP);
speed=0;
break;
}
@@ -272,7 +269,6 @@
case DIR_DOWN: default : {
clearStates(true);
unsetState(STATE_FALL);
- unsetState(STATE_MDOWN);
Dgrav=0;
if (speed>V_KRIT) {
speed=0;
More information about the lostpenguins-commits
mailing list