first run with items

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@29 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
arghvark
2005-08-18 20:23:06 +00:00
parent f31e26c5d3
commit dbbb59fcfa
8 changed files with 106 additions and 66 deletions
+4
View File
@@ -190,6 +190,10 @@ void selfdamage(dynent * d, int dm)
void moveplayer(dynent *pl, int moveres, bool local, int curtime)
{
if (pl->armour > 0)
pl->maxspeed = 14;
else pl->maxspeed = 16;
const bool water = hdr.waterlevel>pl->o.z-0.5f;
const bool floating = (editmode && local) || pl->state==CS_EDITING;