diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-27 23:12:15 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-27 23:12:15 +0000 |
commit | c999bdb3f422da8ed9ab6045641989296a882c92 (patch) | |
tree | b95ca8852f682cfc3e4410f19173f98424cc7a11 /games/uox3/files/patch-aj | |
parent | This port requires (parts of) the automake port to build. (diff) |
- Split patches one per file.
- Fix build on -current.
- Sprinkly in a little reinstall friendliness for good measures.
Notes
Notes:
svn path=/head/; revision=26390
Diffstat (limited to 'games/uox3/files/patch-aj')
-rw-r--r-- | games/uox3/files/patch-aj | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games/uox3/files/patch-aj b/games/uox3/files/patch-aj new file mode 100644 index 000000000000..174f88ea8dfc --- /dev/null +++ b/games/uox3/files/patch-aj @@ -0,0 +1,33 @@ +diff -ruN work.orig/dev/skills.cpp work/dev/skills.cpp +--- work.orig/dev/skills.cpp Mon Feb 8 22:14:30 1999 ++++ work/dev/skills.cpp Fri Sep 10 17:32:02 1999 +@@ -1302,12 +1302,12 @@ + if (chars[target].npc) + { + if (!(chars[target].war)) npcToggleCombat(target); +- chars[target].npcmovetime=(int)((getclock()+(NPCSPEED*CLOCKS_PER_SEC))); ++ chars[target].npcmovetime=(unsigned long int)((getclock()+(NPCSPEED*CLOCKS_PER_SEC))); + } + if (chars[target2].npc) + { + if (!(chars[target2].war)) npcToggleCombat(target2); +- chars[target2].npcmovetime=(int)((getclock()+(NPCSPEED*CLOCKS_PER_SEC))); ++ chars[target2].npcmovetime=(unsigned long int)((getclock()+(NPCSPEED*CLOCKS_PER_SEC))); + } + sprintf(temp, "* You see %s attacking %s *", chars[target].name, chars[target2].name); + for (i=0;i<now;i++) +@@ -1342,12 +1342,12 @@ + if (chars[target].npc) + { + if (!(chars[target].war)) npcToggleCombat(target); +- chars[target].npcmovetime=(int)(getclock()+(NPCSPEED*CLOCKS_PER_SEC)); ++ chars[target].npcmovetime=(unsigned long int)(getclock()+(NPCSPEED*CLOCKS_PER_SEC)); + } + if (chars[target2].npc) + { + if (!(chars[target2].war)) npcToggleCombat(target2); +- chars[target2].npcmovetime=(int)(getclock()+(NPCSPEED*CLOCKS_PER_SEC)); ++ chars[target2].npcmovetime=(unsigned long int)(getclock()+(NPCSPEED*CLOCKS_PER_SEC)); + } + sprintf(temp, "* You see %s attacking %s *", chars[target].name, chars[target2].name); + for (i=0;i<now;i++) |