ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Tue Mar 28, 2017 5:47 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Sep 27, 2009 8:29 pm 
Offline
Reaper

Joined: Thu Sep 27, 2007 6:26 am
Posts: 440
Location: México
A harmless but annoying 64bit display bug was bothering me, so i decided to hunt it and fix it. It's about the piety display that only affect 64 bits machines in 2.3.5.

Code:
diff -rU1 tome-235-src.orig/src/xtra1.c tome-235-src/src/xtra1.c
--- tome-235-src.orig/src/xtra1.c   2009-09-27 15:07:16.000000000 -0500
+++ tome-235-src/src/xtra1.c   2009-09-27 15:08:29.000000000 -0500
@@ -148,3 +148,3 @@
 
-   sprintf(tmp, "%9ld", p_ptr->grace);
+   sprintf(tmp, "%9ld", (long) p_ptr->grace);



PS: I want to commit it, but instructions about checking out only version 2.3.x from CVS are gone, if some kind soul would post the instructions again I would be highly grateful.

_________________
sign: File not found.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 28, 2009 3:57 pm 
Offline
Sher'Tul

Joined: Mon Jul 07, 2003 5:22 pm
Posts: 1461
Location: Finland
Set the CVSROOT environment variable or include it in the command line (it's the same as with ToME 3) and then:

Code:
cvs checkout tome2


The CVS directory uses plain "tome" for the ToME 3 module, "t-engine" for the T-Engine, and "tome2" for the entire ToME 2.

_________________
Zothiqband -- still an Angband variant.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 29, 2009 4:02 am 
Offline
Reaper

Joined: Thu Sep 27, 2007 6:26 am
Posts: 440
Location: México
Ups! I completely missed your message. I commited the patch to the 2.3.x branch but I guess I should commit it to 2.x too (for 2.4?)

_________________
sign: File not found.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group