1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/uox3/files/patch-aj
Steve Price c999bdb3f4 - Split patches one per file.
- Fix build on -current.
- Sprinkly in a little reinstall friendliness for good measures.
2000-02-27 23:12:15 +00:00

34 lines
1.5 KiB
Plaintext

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++)