--- orig/rpggame/rpgent.h
+++ mod/rpggame/rpgent.h
@@ -193,6 +193,8 @@
 
     void update(int curtime, float playerdist)
     {
+        maxspeed = ro->eff_movespeed()*40/100 + 5;
+
         updateprojectile(curtime);
 
         if(state==CS_DEAD) { stopmoving(); return; };
@@ -249,6 +251,8 @@
 
     void updateplayer(int curtime, vec &lookatpos)     // alternative version of update() if this ent is the main player
     {
+        maxspeed = ro->eff_movespeed() + 5;
+
         updateprojectile(curtime);
 
         if(state==CS_DEAD)



